Skip to content

Commit 8f1e113

Browse files
committed
add documentation structure and logo in the style of shxarray
1 parent 046c389 commit 8f1e113

31 files changed

+682
-0
lines changed

.readthedocs.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: "2"
2+
3+
build:
4+
os: "ubuntu-24.04"
5+
tools:
6+
python: "3.12"
7+
8+
python:
9+
install:
10+
- method: pip
11+
path: .
12+
- requirements: docs/requirements.txt
13+
14+
sphinx:
15+
configuration: docs/source/conf.py

docs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source/references
2+

docs/Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
#target to regenerate api doc files (in a new directory so it doesn't override older ones)
18+
apidoc:
19+
sphinx-apidoc -o source/references ../src/xinv
20+
21+
# Catch-all target: route all unknown targets to Sphinx using the new
22+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
23+
%: Makefile
24+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/make.bat

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@ECHO OFF
2+
3+
pushd %~dp0
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=sphinx-build
9+
)
10+
set SOURCEDIR=source
11+
set BUILDDIR=build
12+
13+
%SPHINXBUILD% >NUL 2>NUL
14+
if errorlevel 9009 (
15+
echo.
16+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17+
echo.installed, then set the SPHINXBUILD environment variable to point
18+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
19+
echo.may add the Sphinx directory to PATH.
20+
echo.
21+
echo.If you don't have Sphinx installed, grab it from
22+
echo.https://www.sphinx-doc.org/
23+
exit /b 1
24+
)
25+
26+
if "%1" == "" goto help
27+
28+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29+
goto end
30+
31+
:help
32+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33+
34+
:end
35+
popd

docs/requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#sphinx-rtd-theme >= 1.3.0
2+
nbsphinx >= 0.8.11
3+
sphinx-tabs==3.4.4
4+
sphinxcontrib-apidoc >= 0.5.0
5+
sphinxcontrib-applehelp >= 1.0.7
6+
sphinxcontrib-devhelp >= 1.0.5
7+
sphinxcontrib-htmlhelp >= 2.0.4
8+
sphinxcontrib-jquery >= 4.1
9+
sphinxcontrib-jsmath >= 1.0.1
10+
sphinxcontrib-qthelp >= 1.0.6
11+
sphinxcontrib-serializinghtml >= 1.1.9
12+
sphinx-github-style >= 0.7.0
13+
pydata_sphinx_theme >= 0.4.0
14+

docs/source/_static/favicon.ico

1.12 KB
Binary file not shown.
175 KB
Loading
172 KB
Loading
193 KB
Loading
194 KB
Loading

0 commit comments

Comments
 (0)