mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Add more info and fix some typos in README
This commit is contained in:
parent
0c8b76f8b1
commit
ea7f7e012b
1 changed files with 23 additions and 9 deletions
|
|
@ -8,8 +8,8 @@ The live documentation is (will in the future be) available at `https://evennia.
|
||||||
|
|
||||||
# Editing the docs
|
# Editing the docs
|
||||||
|
|
||||||
The docs source files are `*.md` files found in `evennia/docs/source/`. They
|
The documentation source files are `*.md` (Markdown) files found in `evennia/docs/source/`.
|
||||||
are simple text files that can be edited with a normal text editor. They use
|
Markdown files are simple text files that can be edited with a normal text editor. They use
|
||||||
the [Markdown][commonmark] syntax.
|
the [Markdown][commonmark] syntax.
|
||||||
|
|
||||||
Don't edit the files in `source/api/`. These are auto-generated and your changes
|
Don't edit the files in `source/api/`. These are auto-generated and your changes
|
||||||
|
|
@ -50,7 +50,7 @@ All is done in your terminal/console.
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
- Next we build the html-based documentation.
|
- Next, build the html-based documentation.
|
||||||
|
|
||||||
```
|
```
|
||||||
make quick
|
make quick
|
||||||
|
|
@ -58,8 +58,8 @@ All is done in your terminal/console.
|
||||||
|
|
||||||
- The html-based documentation will appear in the new
|
- The html-based documentation will appear in the new
|
||||||
folder `evennia/docs/build/html/`. Note any errors from files you have edited.
|
folder `evennia/docs/build/html/`. Note any errors from files you have edited.
|
||||||
- Use a web browser to open `evennia/docs/builds/html/index.html` and view the docs.
|
- Use a web browser to open `evennia/docs/build/html/index.html` and view the docs.
|
||||||
Note that you will get errors if going to the auto-docs, because you didn't build them!
|
Note that you will get errors if clicking a link to the auto-docs, because you didn't build them!
|
||||||
|
|
||||||
## Building the main documentation and API docs
|
## Building the main documentation and API docs
|
||||||
|
|
||||||
|
|
@ -127,10 +127,11 @@ of your alternative game dir. For example:
|
||||||
|
|
||||||
## Building for release
|
## Building for release
|
||||||
|
|
||||||
The full Evennia documentation also tracks old versions of documentation based
|
The full Evennia documentation also tracks documentation from older Evennia
|
||||||
on the available branches. The release-build will build all documentation
|
versions. This is done by pulling documentation from Evennia's old release
|
||||||
branches. Only specific official Evennia branches will be built so you can't
|
branches and building them all so readers can choose which one to view. Only
|
||||||
use this to build your own testing branch.
|
specific official Evennia branches will be built, so you can't use this to
|
||||||
|
build your own testing branch.
|
||||||
|
|
||||||
- All local changes must have been committed to git first, since the versioned
|
- All local changes must have been committed to git first, since the versioned
|
||||||
docs are built by looking at the git tree.
|
docs are built by looking at the git tree.
|
||||||
|
|
@ -141,6 +142,7 @@ docs are built by looking at the git tree.
|
||||||
make mv-local
|
make mv-local
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- The different versions will be found under `evennia/docs/build/versions/`.
|
||||||
- If you have git-push access to the Evennia `gh-pages` branch on `github`, you
|
- If you have git-push access to the Evennia `gh-pages` branch on `github`, you
|
||||||
can now deploy.
|
can now deploy.
|
||||||
|
|
||||||
|
|
@ -161,6 +163,18 @@ available at `https://evennia.github.io/evennia/`.
|
||||||
|
|
||||||
> This needs expanding in the future.
|
> This needs expanding in the future.
|
||||||
|
|
||||||
|
## Referring to a heading in the same file
|
||||||
|
|
||||||
|
You can self-reference by pointing to a header/label elsewhere in the
|
||||||
|
same document by using `#` and replacing any spaces in the name with `-`.
|
||||||
|
|
||||||
|
```
|
||||||
|
This is a [link to the heading](#My-Heading-Name).
|
||||||
|
|
||||||
|
# My Heading Name
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Referring to titles in another file
|
## Referring to titles in another file
|
||||||
|
|
||||||
> WIP: Most of these special structures need more work and checking.
|
> WIP: Most of these special structures need more work and checking.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue