-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Included AVX512 for custom weights (#203) * Fixed two long-standing issues with the docs. * Added a summary of changes [ci skip] * Needed to add the actual API docs files * Fixed the citation entries. Needs decision [ci skip] * Updated the citation info * Clarified the terminology * Fixing a doc warning * Better shell practices for temp files and filenames * Changing the bib item for the MNRAS paper to ADS [ci skip]
- Loading branch information
Showing
8 changed files
with
179 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,8 @@ | ||
Corrfunc\.mocks package | ||
======================= | ||
Corrfunc.mocks package | ||
====================== | ||
|
||
.. automodule:: Corrfunc.mocks | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
Corrfunc\.mocks\.DDrppi\_mocks module | ||
------------------------------------- | ||
|
||
.. automodule:: Corrfunc.mocks.DDrppi_mocks | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.mocks\.DDsmu\_mocks module | ||
------------------------------------ | ||
|
||
.. automodule:: Corrfunc.mocks.DDsmu_mocks | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.mocks\.DDtheta\_mocks module | ||
-------------------------------------- | ||
|
||
.. automodule:: Corrfunc.mocks.DDtheta_mocks | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.mocks\.vpf\_mocks module | ||
---------------------------------- | ||
|
||
.. automodule:: Corrfunc.mocks.vpf_mocks | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,8 @@ | ||
Corrfunc\.theory package | ||
======================== | ||
Corrfunc.theory package | ||
======================= | ||
|
||
.. automodule:: Corrfunc.theory | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
Corrfunc\.theory\.DD module | ||
--------------------------- | ||
|
||
.. automodule:: Corrfunc.theory.DD | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.theory\.DDrppi module | ||
------------------------------- | ||
|
||
.. automodule:: Corrfunc.theory.DDrppi | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.theory\.DDsmu module | ||
------------------------------ | ||
|
||
.. automodule:: Corrfunc.theory.DDsmu | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.theory\.vpf module | ||
---------------------------- | ||
|
||
.. automodule:: Corrfunc.theory.vpf | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.theory\.wp module | ||
--------------------------- | ||
|
||
.. automodule:: Corrfunc.theory.wp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Corrfunc\.theory\.xi module | ||
--------------------------- | ||
|
||
.. automodule:: Corrfunc.theory.xi | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
# bash | ||
#! /bin/bash | ||
|
||
if ! python -c 'import numpydoc'; then easy_install --user numpydoc; fi | ||
if ! python -c 'import sphinx'; then easy_install --user sphinx; fi | ||
|
||
sphinx-apidoc -H "Comprehensive API reference" -M -f -o source/api/ ../Corrfunc/ | ||
outdir=source/api | ||
sphinx-apidoc -H "Comprehensive API reference" -M -f -o "$outdir" ../Corrfunc/ ../Corrfunc/tests.py ../Corrfunc/call_correlation_functions.py ../Corrfunc/call_correlation_functions_mocks.py | ||
|
||
tmpfile="$(mktemp)" | ||
# Fix the blank sub-modules in the Corrfunc file | ||
for docfile in "$outdir/Corrfunc.rst" | ||
do | ||
# Delete three lines following the "submodules" | ||
sed -e '/Submodules/{N;N;d;}' "$docfile" > "$tmpfile" | ||
mv "$tmpfile" "$docfile" | ||
done | ||
|
||
|
||
# Fix the duplicate entries for the various pair-counters | ||
# (e.g., Corrfunc.theory.DD *and* Corrfunc.theory.DD.DD) | ||
for docfile in "$outdir/Corrfunc.mocks.rst" "$outdir/Corrfunc.theory.rst" | ||
do | ||
# Delete ALL lines following this "submodule" line in the theory/mocks | ||
# auto-generated documentation | ||
sed -n '/Submodules/q;p' "$docfile" > "$tmpfile" | ||
mv "$tmpfile" "$docfile" | ||
done |
Oops, something went wrong.