Skip to content

Commit 1ff81fd

Browse files
committed
update docs
1 parent 8da4ac6 commit 1ff81fd

4 files changed

Lines changed: 17 additions & 11 deletions

File tree

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515

1616
- name: Build HTML
17-
uses: ammaraskar/sphinx-action@7.0.0
17+
uses: ammaraskar/sphinx-action@8.2.3
1818
with:
1919
docs-folder: "./docs"
2020

docs/conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
project = 'xsection'
77
copyright = '2025'
88
author = 'Claudio Perez'
9-
description = "Structural cross sections."
9+
description = "Analysis of structural cross sections."
1010
version = '0.0.0'
1111
release = '0.0.0'
1212

@@ -16,7 +16,7 @@
1616
'sphinx.ext.autodoc',
1717
'sphinx.ext.autosummary',
1818
# 'autoapi.extension',
19-
'myst_parser',
19+
"myst_nb",
2020
'sphinx_tabs.tabs',
2121
'sphinx_copybutton',
2222
'sphinx.ext.mathjax',
@@ -39,12 +39,8 @@
3939
language = 'en'
4040

4141
# -- Options for HTML output -------------------------------------------------
42-
sitemap_url_scheme = "{link}"
43-
sitemap_excludes = [
44-
"https://xsection.io/index.html"
45-
]
4642
html_extra_path = ["robots.txt"]
47-
html_baseurl = "https://xsection.io/"
43+
html_baseurl = "https://peer-open-source.github.io/xsection/" #"https://xsection.io/"
4844
html_title = project
4945
html_theme = "pydata_sphinx_theme"
5046
html_static_path = ['_static']
@@ -57,6 +53,10 @@
5753
"css/veux.css",
5854
]
5955

56+
sitemap_url_scheme = "{link}"
57+
sitemap_excludes = [
58+
f"{html_baseurl}index.html"
59+
]
6060
html_additional_pages = {'index': 'home.html'}
6161
g = "https://gallery.stairlab.io"
6262
html_context = {

docs/examples/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
Examples
22
^^^^^^^^
33

4+
5+
.. toctree::
6+
:maxdepth: 1
7+
8+
introduction
9+

docs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
sphinx
1+
sphinx==8.2.3
22
pydata-sphinx-theme
33
sphinx-tabs
44
xsection
5-
sphinx-sitemap
5+
sphinx-sitemap<2.7.0
66
sphinx-copybutton
77
myst-parser
8-
8+
myst-nb

0 commit comments

Comments
 (0)