Skip to content

Commit c3a7806

Browse files
committed
Deploying to gh-pages from @ 2088598 🚀
1 parent 7274271 commit c3a7806

File tree

786 files changed

+330782
-255319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

786 files changed

+330782
-255319
lines changed

README.md

+14-39
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ Pip install the following packages, which are also listed in `requirements.txt`:
2121

2222
- pyscf
2323
- sphinx
24-
- sphinx-material
2524
- sphinxcontrib-bibtex
2625
- nbsphinx
26+
- pydata-sphinx-theme
27+
- myst-parser
28+
- sphinx_design
2729

2830
If you have multiple versions of PySCF on your machine and you would like so use
2931
a specific version, set `PYTHONPATH` to include the specific PySCF source
@@ -59,45 +61,18 @@ Finally to serve the website, you can run:
5961
python -m http.server --directory build/html
6062
```
6163

64+
### Viewing a forked repo GitHub Pages
6265

63-
### Adding Content to GitHub Pages
66+
The PySCF website is currently built and deployed to GitHub Pages any time a push is made to the master branch of the repository.
67+
The website is served out of the `docs/` directory of the `gh-pages` branch.
68+
This is all controlled by a GitHub Action in `.github/workflows/docs_deploy.yaml`.
69+
If you forked this repository and you want to view the website on your own GitHub Pages, make sure to enable Actions on your repository,
70+
because they are disabled in forks by default.
6471

65-
If you want to show the latest version of the docs on GitHub pages, build using then instructions above. Then from `pyscf-doc/source` run the following:
72+
## How to contribute
6673

67-
```bash
68-
make gh_pages_setup
69-
```
70-
71-
## How to Contribute
72-
73-
1. Add a rst file \"your\_method.rst\" in the [source/user](source/user/) directory in which one describes the basic theory and usage of the method. Reference \"user/your\_method.rst\" in the \"toctree\" section in [source/user.rst](source/user.rst).
74-
2. Add a rst file \"your\_module.rst\" in the [source/modules](source/modules/) directory in which one lists the examples and the member classes and functions of the module (the API doc is then generated by autodoc). (In the \"\_\_init\_\_.py\" file of each module, one should include a simple usage section. See [pyscf.dft.\_\_init\_\_.py](https://github.com/pyscf/pyscf/blob/master/pyscf/dft/__init__.py) as an example.) Reference \"your\_module.rst\" in the \"toctree\" section in [source/modules.rst](source/modules.rst).
75-
3. Optionally, one could also add a rst file \"your\_method\_develop.rst\" in the [source/develop](source/develop/) directory where one provides more detailed descriptions of the implementation and advanced guidelines for using and further development of the module. Reference \"your\_method\_develop.rst\" in [source/develop.rst](source/develop.rst).
76-
77-
78-
<!-- ## Adding Blog Posts
74+
Website pages can be written in Markdown `.md` or reStructuredTest `.rst`.
7975

80-
Create a new `.md` file in `pyscf-doc/source/posts` and add the following header (modified for your post):
81-
82-
```
83-
---
84-
blogpost: true
85-
date: February 1, 2021
86-
author: James Smith
87-
location: World
88-
category: Tutorial
89-
tags: HF, DFT, MCSCF
90-
language: English
91-
---
92-
```
93-
94-
If you want to write a post in `.rst` that's fine too! Just use the following in your header:
95-
96-
```
97-
:blogpost: true
98-
:date: Oct 10, 2020
99-
:author: Nabil Freij
100-
:location: World
101-
:category: Manual
102-
:language: English
103-
``` -->
76+
1. Add a rst (or md) file \"your\_method.rst\" in the [source/user](source/user/) directory in which one describes the basic theory and usage of the method. Reference \"user/your\_method.rst\" in the \"toctree\" section in [source/user.rst](source/user.rst).
77+
2. Add a rst (or md) file \"your\_module.rst\" in the [source/modules](source/modules/) directory in which one lists the examples and the member classes and functions of the module (the API doc is then generated by autodoc). (In the \"\_\_init\_\_.py\" file of each module, one should include a simple usage section. See [pyscf.dft.\_\_init\_\_.py](https://github.com/pyscf/pyscf/blob/master/pyscf/dft/__init__.py) as an example.) Reference \"your\_module.rst\" in the \"toctree\" section in [source/modules.rst](source/modules.rst).
78+
3. Optionally, one could also add a rst file \"your\_method\_develop.rst\" in the [source/contributor](source/contributor/) directory where one provides more detailed descriptions of the implementation and advanced guidelines for using and further development of the module.

docs/.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 1881ce1e47f02ba9240198dfc7796feb
3+
config: 073858a82188a3da5694fb76d2b376d0
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_images/pyscf-logo.png

-20.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)