-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
246 additions
and
534 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
i-PI documentation | ||
================== | ||
## i-PI documentation | ||
|
||
This folder contains the files needed to build the documentation for i-PI. | ||
This folder contains the files needed to locally build the documentation for i-PI. | ||
|
||
* `latex/` contains the "legacy" TeX manual, that includes also autogenerated input reference | ||
* `scripts/` contains automatic scripts to build the input reference | ||
* `src/` contains RST files that are compiled by sphynx into the HTML documentation. | ||
|
||
|
||
To make the docs, make sure you have all the needed packages in `requirements.txt` installed, and type `make html`. The local documentation will be generated in `_build/html`. | ||
To make the docs, make sure you have all the needed packages in `requirements.txt` installed, which can be achieved with `pip install -r requirements.txt`, and type `make html`. The local documentation will be generated in `_build/html`. | ||
|
||
To make the TeX docs follow the instructions in `latex`. |
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,8 @@ | ||
figcaption { | ||
font-style: italic; /* makes text italic */ | ||
font-size: 0.9em; /* reduces font size to 90% of the surrounding text */ | ||
} | ||
|
||
img.white-background { | ||
background-color: white; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,45 @@ | ||
|
||
## Documentation Directory | ||
|
||
This directory contains all the documentation for the program. | ||
|
||
### Directories | ||
|
||
- **figures**: Holds the figures used in the manual. | ||
- **input_docs**: Generated by the Makefile to hold the automatically generated input reference sections of the manual. | ||
|
||
### Files | ||
|
||
- `../scripts/create_man.py`: Python script that automatically generates LaTeX help files for all the classes, used in the manual. | ||
- `../scripts/help_list.py`: Python script to generate custom help files for the output classes, used in the manual. | ||
- `../scripts/help.py`: Python script to generate custom help files for each of the input classes, used in the manual. | ||
- `Makefile`: Makefile for generating the manual automatically. | ||
- `manual.tex`: TeX file serving as the template for the manual. | ||
- `mybib.bib`: Bibliography file for the manual. | ||
- `elsarticle-num-names.bst`: Bibliography style file. | ||
- `etoolbox.sty`: LaTeX package used by `manual.tex`. | ||
|
||
### Notes | ||
|
||
Some of the files listed above are used to automatically generate sections of the user manual and to create an XML file showing the class hierarchy. The sections of the user manual are generated in the `input_docs` directory. The user manual itself is created in two files: | ||
|
||
- **manual.pdf**: The main user manual file, explaining how to run the code, the syntax for input and output files, and the design paradigm for i-PI. It also contains a tutorial that goes step-by-step through an example calculation. | ||
- **manual.xml**: An XML file that contains all the input names, along with descriptions of their purpose and the expected values for each. | ||
|
||
### Commands | ||
|
||
- **Generate Help Files**: | ||
```bash | ||
make | ||
``` | ||
|
||
- **Clean Up (Remove Input Reference Sections and LaTeX Compiled Files)**: | ||
```bash | ||
make clean | ||
``` | ||
|
||
- **Full Clean (Remove All Generated Files)**: | ||
```bash | ||
make distclean | ||
``` | ||
|
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,5 +1,6 @@ | ||
sphinx >= 3.2 | ||
jinja2 < 3.1 | ||
jinja2 | ||
sphinxcontrib-bibtex==2.1.4 | ||
numpy | ||
pathlib | ||
furo |
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
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
Oops, something went wrong.