website_design.md:create doc, add link [skip ci]

* wrote an initial doc with info on how to make changes to the web sites
This commit is contained in:
andy5995 2018-01-28 21:23:29 -06:00
parent a97d4c85c1
commit 25a4ead682
No known key found for this signature in database
GPG Key ID: 06BFEC9B82603CAF
2 changed files with 39 additions and 0 deletions

View File

@ -7,6 +7,10 @@ Anyone is welcome to join our [Discord server](https://discord.gg/WaAaXS7) or [I
The Discord rooms are for players, developers, and curiosity/adventure-seekers.
## Website Design
Documentation for designing the websites is in [WEBSITE_DESIGN.md](https://github.com/ZetaGlest/zetaglest-source/WEBSITE_DESIGN.md).
## Mods, tech trees, scenarios, tilesets, maps
Guidelines for submitting or letting us know about content you've

35
WEBSITE_DESIGN.md Normal file
View File

@ -0,0 +1,35 @@
# 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.