forked from pyscf/pyscf.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sphinx-material theme for PySCF Docs (pyscf#57)
* First commit with material styling * Changing the name of the files used in the main nav bar. * Improving instructions * Update site formatting and temporarily remove md support * Adding docs dir so we can show the preview on GitHub pages * Adding nojekyll file and updating instructions. * Forgot to add the website files * Forgot the API docs * Think these missing source files were messing up the formatting for the whole site * The nojekyll file got deleted * Moving the instructions to README.md and fixing the rendering of tables. * Fix typos and formatting * Shiting to make for building website and updating the docs accordingly. * Clean up and removing section numbers. * Forgot to push doc files and source files * Simplifying instructions in README.md * Update LICENSE * Removing html files * Update README.md Co-authored-by: Susi Lehtola <[email protected]> * Fixing camel case in README.md and fixing small error in index.rst Co-authored-by: Timothy Berkelbach <[email protected]> Co-authored-by: Susi Lehtola <[email protected]>
- Loading branch information
1 parent
1b0d1f7
commit 9d0def3
Showing
30 changed files
with
694 additions
and
245 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,9 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# Extras | ||
.vscode | ||
.doctrees | ||
_website | ||
source/pyscf_api_docs |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pyscf | ||
sphinx | ||
ablog | ||
sphinx-material | ||
sphinxcontrib-bibtex | ||
nbsphinx |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
echo -e "\033[0;32mGenerating PySCF API Docs using sphinx-apidoc\033[0m" | ||
|
||
# Show the Python where PySCF is installed | ||
echo "Using $(which python)" | ||
|
||
# Get PySCF path | ||
PYSCF_PATH=$(python -c "import pyscf; print(pyscf.__path__[0])") | ||
|
||
if [ -z $PYSCF_PATH ] | ||
then | ||
echo -e "\033[0;31mPySCF not found in current environment. Please switch environments or install it.\033[0m" | ||
else | ||
echo -e "Found path to PySCF: \n\t${PYSCF_PATH}" | ||
fi | ||
|
||
# Run sphinx | ||
DESTINATION=source/pyscf_api_docs | ||
LOGFILE=_api_docs.log | ||
|
||
mkdir -p $DESTINATION | ||
echo -e "Output directory for API docs: \n\t$(pwd)/${DESTINATION}" | ||
echo -e "Log file:\n\t$(pwd)/${LOGFILE}" | ||
|
||
sphinx-apidoc -o $DESTINATION $PYSCF_PATH > ${LOGFILE} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
echo -e "\033[0;32mSetting up GitHub Pages docs directory\033[0m" | ||
|
||
echo -e "Deleting old docs directory" | ||
rm -r docs | ||
|
||
echo -e "Moving build/html to docs" | ||
mv build/html docs | ||
|
||
echo -e "Adding .nojekyll file to docs (so GitHub pages renders it correctly)" | ||
touch docs/.nojekyll |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
About | ||
===== | ||
|
||
The Team | ||
-------- | ||
|
||
Board of directors | ||
"""""""""""""""""" | ||
- Timothy Berkelbach, Columbia and Flatiron Institute | ||
- Garnet Chan, Caltech | ||
- Sandeep Sharma, UC Boulder | ||
- Alexander Sokolov, Ohio State | ||
- Qiming Sun, Tencent Quantum Laboratory | ||
|
||
Maintainers | ||
""""""""""" | ||
- Zhihao Cui, Caltech | ||
- Yang Gao, Caltech | ||
- Iliya Sabzevari, UC Boulder | ||
- James Smith, Flatiron Institute | ||
- Xiao Wang, Flatiron Institute | ||
|
||
Funding | ||
------- | ||
|
||
The development of PySCF has been and continues to be generously supported by a number of funding agencies. Most of the molecular quantum chemistry software infrastructure was developed with support from the US National Science Foundation, through grants CHE-1650436 and ACI-1657286. The periodic mean-field infrastructure was developed with support from ACI-1657286. The excited-state periodic coupled cluster methods were developed with support from the US Department of Energy, Office of Science, through the grants DE-SC0010530 and DE-SC0008624. Additional support for the extended-system methods has been provided by the Simons Foundation through the Simons Collaboration on the Many Electron Problem, a Simons Investigatorship in Theoretical Physics, the Princeton Center for Theoretical Science, and startup funds from Princeton University and the California Institute of Technology. |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
PySCF Blog | ||
================================= | ||
|
||
Here we post updates about the software and tutorials on how best to use PySCF. | ||
|
||
Shortcuts | ||
######### | ||
|
||
* :ref:`blog-tags` | ||
* :ref:`blog-archives` | ||
* :ref:`blog-categories` | ||
|
||
|
||
Recent Posts | ||
############ | ||
|
||
.. postlist:: 5 | ||
:excerpts: | ||
|
Oops, something went wrong.