mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add virtualenv info to README
Also add env/ directory to gitignore for the virtual environment. And add commonly used temporary files as well.
This commit is contained in:
14
README.md
14
README.md
@@ -55,6 +55,20 @@ make html
|
||||
The compilation might take some time as the `classes/` folder contains many files to parse.
|
||||
You can then test the changes live by opening `_build/html/index.html` in your favourite browser.
|
||||
|
||||
### Building with Sphinx and virtualenv
|
||||
|
||||
If you want your Sphinx installation scoped to the project, you can install it using virtualenv.
|
||||
Execute this from the root folder of this repository:
|
||||
|
||||
```sh
|
||||
virtualenv --system-site-packages env/
|
||||
. env/bin/activate
|
||||
pip3 install sphinx
|
||||
pip3 install sphinx_rtd_theme
|
||||
```
|
||||
|
||||
Then do `make html` like above.
|
||||
|
||||
## License
|
||||
|
||||
At the exception of the `classes/` folder, all the content of this repository is licensed under the Creative Commons Attribution 3.0 Unported license ([CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)) and is to be attributed to "Juan Linietsky, Ariel Manzur and the Godot community".
|
||||
|
||||
Reference in New Issue
Block a user