mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 13:26:30 +01:00
Convert master docs to use MyST
This commit is contained in:
parent
6e03216cd9
commit
d229ff024c
359 changed files with 3275 additions and 4567 deletions
|
|
@ -5,7 +5,7 @@ Evennia uses the [Django](https://www.djangoproject.com/) web framework as the b
|
|||
database configuration and the website it provides. While a full understanding of Django requires
|
||||
reading the Django documentation, we have provided this tutorial to get you running with the basics
|
||||
and how they pertain to Evennia. This text details getting everything set up. The [Web-based
|
||||
Character view Tutorial](Web-Character-View-Tutorial) gives a more explicit example of making a
|
||||
Character view Tutorial](./Web-Character-View-Tutorial.md) gives a more explicit example of making a
|
||||
custom web page connected to your game, and you may want to read that after finishing this guide.
|
||||
|
||||
## A Basic Overview
|
||||
|
|
@ -25,7 +25,7 @@ like [CSS](http://en.wikipedia.org/wiki/CSS), [Javascript](http://en.wikipedia.o
|
|||
and Image files (You may note your mygame/web folder does not have a `static` or `template` folder.
|
||||
This is intended and explained further below). Django applications may also have a `models.py` file
|
||||
for storing information in the database. We "cmd: attr(locktest, 80, compare=gt)"will not change any
|
||||
models here, take a look at the [New Models](./New-Models) page (as well as the [Django
|
||||
models here, take a look at the [New Models](./New-Models.md) page (as well as the [Django
|
||||
docs](https://docs.djangoproject.com/en/1.7/topics/db/models/) on models) if you are interested.
|
||||
|
||||
There is also a root `urls.py` that determines the URL structure for the entire project. A starter
|
||||
|
|
@ -105,7 +105,7 @@ run any extra commands to see these changes - reloading the web page in your bro
|
|||
|
||||
To replace the index page's text, we'll need to find the template for it. We'll go into more detail
|
||||
about how to determine which template is used for rendering a page in the [Web-based Character view
|
||||
Tutorial](Web-Character-View-Tutorial). For now, you should know that the template we want to change
|
||||
Tutorial](./Web-Character-View-Tutorial.md). For now, you should know that the template we want to change
|
||||
is stored in `evennia/web/website/templates/website/index.html`.
|
||||
|
||||
To replace this template file, you will put your changed template inside the
|
||||
|
|
@ -121,7 +121,7 @@ original file already has all the markup and tags, ready for editing.
|
|||
## Further reading
|
||||
|
||||
For further hints on working with the web presence, you could now continue to the [Web-based
|
||||
Character view Tutorial](Web-Character-View-Tutorial) where you learn to make a web page that
|
||||
Character view Tutorial](./Web-Character-View-Tutorial.md) where you learn to make a web page that
|
||||
displays in-game character stats. You can also look at [Django's own
|
||||
tutorial](https://docs.djangoproject.com/en/3.1/) to get more insight in how Django works and what
|
||||
possibilities exist.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue