glest-source/WEBSITE_DESIGN.md
andy5995 25a4ead682
website_design.md:create doc, add link [skip ci]
* wrote an initial doc with info on how to make changes to the web sites
2018-01-28 21:23:29 -06:00

36 lines
1.2 KiB
Markdown

# WEBSITE DESIGN
There are two websites for ZetaGlest
## Unit Documentation
### https://zetaglest.github.io/
The repo is at https://github.com/ZetaGlest/zetaglest.github.io
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).
## 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.