Skip to content

Commit 8c7643b

Browse files
committed
reviews build docs
1 parent a2e3af8 commit 8c7643b

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

docs/Makefile

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Minimal makefile for Sphinx documentation
22

3-
# You can set these variables from the command line, and also
4-
# from the environment for the first two.
53
SPHINXOPTS ?=
64
SPHINXBUILD ?= sphinx-build
75
SOURCEDIR = .
@@ -11,19 +9,9 @@ BUILDDIR = _build
119
help:
1210
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1311

14-
.PHONY: help Makefile clean
15-
16-
# Clean target to remove build artifacts
17-
clean:
18-
rm -rf $(BUILDDIR)/*
12+
.PHONY: help Makefile
1913

2014
# Catch-all target: route all unknown targets to Sphinx using the new
2115
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2216
%: Makefile
23-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
24-
25-
# Custom target for GitHub Actions
26-
github:
27-
@make html
28-
@echo "Build completed. Check the contents of $(BUILDDIR)/html"
29-
@ls -R $(BUILDDIR)/html
17+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/source/conf.py docs/conf.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
'nbsphinx',
1919
'sphinx.ext.viewcode',
2020
'sphinx.ext.githubpages',
21-
'sphinx.ext.intersphinx',
2221
]
2322

2423
# Configuration de base
@@ -31,10 +30,14 @@
3130
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
3231

3332
# Thème et style
34-
html_theme = 'sphinx_rtd_theme'
33+
html_theme = 'alabaster'
3534
html_static_path = ['_static']
3635
html_logo = '_static/logo.png'
3736

37+
# Assurez-vous que ces chemins sont corrects
38+
source_dir = 'source'
39+
html_extra_path = ['_static']
40+
3841
# Configuration supplémentaire
3942
autodoc_member_order = 'bysource'
4043
napoleon_google_docstring = True

0 commit comments

Comments
 (0)