Skip to content

Commit fa687b9

Browse files
authored
Merge pull request #1221 from raphaeltimbo/update-docs-build
Update documentation build dependencies
2 parents a8242d8 + 5d98cdf commit fa687b9

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.10"
6+
python: "3.13"
77

88
python:
99
install:

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
bibtex_bibfiles = ["references.bib"]
6161
bibtex_default_style = "alpha"
6262
bibtex_reference_style = "author_year"
63+
# Allow duplicate citations in different files
64+
bibtex_duplicates = "allow"
6365

6466
# Generate the API documentation when building
6567
autosummary_generate = True
@@ -84,6 +86,9 @@
8486
# Usually you set "language" from the command line for these cases.
8587
language = "en"
8688

89+
# Suppress specific warnings
90+
suppress_warnings = ["bibtex.duplicate_citation"]
91+
8792
# List of patterns, relative to source directory, that match files and
8893
# directories to ignore when looking for source files.
8994
# This patterns also effect to html_static_path and html_extra_path
@@ -110,8 +115,6 @@
110115
html_theme_options = {
111116
"github_url": "https://github.com/petrobras/ross",
112117
"repository_url": "https://github.com/petrobras/ross",
113-
"extra_navbar": "",
114-
"navbar_footer_text": "",
115118
}
116119
html_sourcelink_suffix = ""
117120
html_static_path = ["_static"]

docs/requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
sphinx==7.2.6
2-
myst-nb==1.1.0
3-
sphinxcontrib-bibtex==2.6.2
1+
Sphinx==8.2.3
2+
myst-nb==1.3.0
3+
sphinxcontrib-bibtex==2.6.5
44
sphinx-copybutton==0.5.2
5-
numpydoc==1.7.0
6-
sphinx-book-theme==1.1.2
5+
numpydoc==1.9.0
6+
sphinx-book-theme==1.1.4
77
linkify-it-py==2.0.3
8-
sphinx_design==0.5.0
9-
sphinxcontrib-googleanalytics==0.4
8+
sphinx_design==0.6.1
9+
sphinxcontrib-googleanalytics==0.5

0 commit comments

Comments
 (0)