|
59 | 59 | f"{html_baseurl}index.html" |
60 | 60 | ] |
61 | 61 | html_additional_pages = {'index': 'home.html'} |
62 | | -g = "https://gallery.stairlab.io" |
63 | 62 | html_context = { |
64 | 63 | "description": description, |
65 | 64 | "introduction": "xsection is a Python library for analyzing structural cross sections.", |
|
68 | 67 | "features": [ |
69 | 68 | {"title": "Free", "body": "All source code contributed to xsection is licensed under a <em>pure</em> BSD."}, |
70 | 69 | {"title": "Accurate", "body": "."}, |
71 | | - {"title": "Integrated", "body": 'xsection is designed to integrate with state-of-the-art open-source software like <a href="https://xara.so">xara</a> and <a href="https://peer.berkeley.edu/opensees/">OpenSees</a>.'}, |
| 70 | + {"title": "Integrated", "body": 'xsection is designed to integrate with state-of-the-art open-source software like <a href="https://xara.so">xara</a>.'}, |
72 | 71 | ], |
73 | 72 | "home_image": "_static/images/home.png", |
74 | 73 | "cannonical_home": "https://xsection.io", |
|
93 | 92 |
|
94 | 93 | html_static_path = ["_static"] |
95 | 94 |
|
| 95 | +g = f"{html_baseurl}/examples/"# "https://gallery.stairlab.io" |
96 | 96 | def _add_examples(app, pagename, templatename, context, doctree): |
97 | 97 | if templatename == "home.html": |
98 | 98 | context["home_image"] = "_static/images/girder-light.png" |
99 | 99 | context["examples"] = [ |
100 | | - {"title": "Databases", "link": f"{g}/examples/constants/", "image": "../_static/images/gallery/Constants.png", "description": "Material and section constants."}, |
| 100 | + {"title": "Basic Shapes", "link": f"{g}/introduction/", "image": "../_static/images/gallery/ShapeLibrary.png", "description": "Material and section constants."}, |
101 | 101 | {"title": "Stresses", "link": f"{g}/examples/framesections/", "image": "../_static/images/gallery/HaywardSmall.png", "description": "Detailed analysis of structural cross sections."}, |
102 | 102 | {"title": "Composites", "link": f"{g}/examples/example2/", "image": "../_static/images/gallery/concrete.png", "description": "."}, |
103 | 103 | ] |
|
0 commit comments