Skip to content

Commit 4e26021

Browse files
authored
Merge pull request #109 from sbillinge/move-docs
move docs
2 parents 66ef58d + 78eece9 commit 4e26021

File tree

6 files changed

+442
-0
lines changed

6 files changed

+442
-0
lines changed

doc/make.bat

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
set SPHINXPROJ=PackagingScientificPython
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20+
echo.installed, then set the SPHINXBUILD environment variable to point
21+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22+
echo.may add the Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30+
goto end
31+
32+
:help
33+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34+
35+
:end
36+
popd

doc/source/_static/.placeholder

Whitespace-only changes.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _example_package documentation:
2+
3+
|title|
4+
=======
5+
6+
.. |title| replace:: diffpy.srfit.example_package package
7+
8+
.. automodule:: diffpy.srfit.example_package
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
13+
|foo|
14+
-----
15+
16+
.. |foo| replace:: diffpy.srfit.example_package.foo module
17+
18+
.. automodule:: diffpy.srfit.example_package.foo
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
|bar|
24+
-----
25+
26+
.. |bar| replace:: diffpy.srfit.example_package.bar module
27+
28+
.. automodule:: diffpy.srfit.example_package.foo
29+
:members:
30+
:undoc-members:
31+
:show-inheritance:

doc/source/api/diffpy.srfit.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
:tocdepth: -1
2+
3+
|title|
4+
=======
5+
6+
.. |title| replace:: diffpy.srfit package
7+
8+
.. automodule:: diffpy.srfit
9+
:members:
10+
:undoc-members:
11+
:show-inheritance:
12+
13+
Subpackages
14+
-----------
15+
16+
.. toctree::
17+
diffpy.srfit.example_package
18+
19+
Submodules
20+
----------
21+
22+
|module|
23+
--------
24+
25+
.. |module| replace:: diffpy.srfit.example_submodule module
26+
27+
.. automodule:: diffpy.srfit.example_submodule
28+
:members:
29+
:undoc-members:
30+
:show-inheritance:

0 commit comments

Comments
 (0)