glest-source/WEBSITE_DESIGN.md
2018-03-01 11:01:20 -06:00

43 lines
1.5 KiB
Markdown

# WEBSITE DESIGN
## Unit Documentation
### https://zetaglest.github.io/
The repo is at https://github.com/ZetaGlest/zetaglest.github.io
#### Files in the root folder
Files are published to the web site automatically when the repo is updated.
The style sheet is in [media](https://github.com/ZetaGlest/zetaglest.github.io/tree/master/convert_faction_xml2html/media)
And it's copied to the root folder of the website when the
[perl script](https://github.com/ZetaGlest/zetaglest.github.io/blob/master/convert_faction_xml2html/convert_faction_xml2html.pl)
is run. The script generates the html (which is how you'd preview your
changes).
Part of the template for the site is in the perl script, and another part is in
[an ini file](https://github.com/ZetaGlest/zetaglest.github.io/blob/master/convert_faction_xml2html/zetapack.ini).
## Primary documentation
### Files in [docs](https://github.com/ZetaGlest/zetaglest.github.io/tree/master/docs)
See the [README in that folder](https://github.com/ZetaGlest/zetaglest.github.io/blob/master/docs/README)
for an explanation of how to edit the html files in zetaglest.github.io/docs.
## Server list and player stats
### https://zetaglest.dreamhosters.com/
The repo is at
https://github.com/ZetaGlest/zetaglest-masterserver
Most of the website can be changed by editing a
[PHP script](https://github.com/ZetaGlest/zetaglest-masterserver/blob/develop/showServers.php).
I don't know of a good solution for testing changes but I'll try to
update the documentation.