Commit 8c7643b 1 parent a2e3af8 commit 8c7643b Copy full SHA for 8c7643b
File tree 2 files changed +7
-16
lines changed
2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Minimal makefile for Sphinx documentation
2
2
3
- # You can set these variables from the command line, and also
4
- # from the environment for the first two.
5
3
SPHINXOPTS ?=
6
4
SPHINXBUILD ?= sphinx-build
7
5
SOURCEDIR = .
@@ -11,19 +9,9 @@ BUILDDIR = _build
11
9
help :
12
10
@$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
13
11
14
- .PHONY : help Makefile clean
15
-
16
- # Clean target to remove build artifacts
17
- clean :
18
- rm -rf $(BUILDDIR ) /*
12
+ .PHONY : help Makefile
19
13
20
14
# Catch-all target: route all unknown targets to Sphinx using the new
21
15
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
22
16
% : 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 )
Original file line number Diff line number Diff line change 18
18
'nbsphinx' ,
19
19
'sphinx.ext.viewcode' ,
20
20
'sphinx.ext.githubpages' ,
21
- 'sphinx.ext.intersphinx' ,
22
21
]
23
22
24
23
# Configuration de base
31
30
exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
32
31
33
32
# Thème et style
34
- html_theme = 'sphinx_rtd_theme '
33
+ html_theme = 'alabaster '
35
34
html_static_path = ['_static' ]
36
35
html_logo = '_static/logo.png'
37
36
37
+ # Assurez-vous que ces chemins sont corrects
38
+ source_dir = 'source'
39
+ html_extra_path = ['_static' ]
40
+
38
41
# Configuration supplémentaire
39
42
autodoc_member_order = 'bysource'
40
43
napoleon_google_docstring = True
You can’t perform that action at this time.
0 commit comments