This repository has been archived by the owner on Aug 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move a-lot of stuff around, add more navigation.
- Loading branch information
Showing
52 changed files
with
197 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%li.pull-right{:class => (current_page.include?("/src/api/reference") ? "active" : "")} | ||
%a{:href => "/api/reference/"} | ||
%i.glyphicon.glyphicon-book | ||
Reference | ||
%li.pull-right{:class => (current_page.match(/\/src\/api\/[^\/]*$/) != nil ? "active" : "")} | ||
%a{:href => "/api/"} | ||
%i.glyphicon.glyphicon-transfer | ||
Usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
- @nav_title = "Map XML Examples" | ||
- @subnav_content = [\ | ||
- {"path" => "examples/snowy_wars", "name" => "Snowy Wars"},\ | ||
- {"path" => "examples/viridun", "name" => "Viridun"},\ | ||
- {"path" => "examples/harb", "name" => "Harb"},\ | ||
- {"path" => "examples/rfv3", "name" => "Race For Victory 3"},\ | ||
- {"path" => "examples/eldritch", "name" => "GS: Eldritch"}] | ||
- {"path" => "xml/examples/snowy_wars", "name" => "Snowy Wars"},\ | ||
- {"path" => "xml/examples/viridun", "name" => "Viridun"},\ | ||
- {"path" => "xml/examples/harb", "name" => "Harb"},\ | ||
- {"path" => "xml/examples/rfv3", "name" => "Race For Victory 3"},\ | ||
- {"path" => "xml/examples/eldritch", "name" => "GS: Eldritch"}] | ||
|
||
= partial('sidebar') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
- @nav_title = "XML Modules" | ||
- @subnav_content = [\ | ||
- {"path" => "modules/main", "name" => "Main Map Element"},\ | ||
- {"path" => "modules/includes", "name" => "XML File Includes"},\ | ||
- {"path" => "modules/tutorial", "name" => "Map Tutorial"},\ | ||
- {"path" => "xml/", "name" => "Main Map Element", "match" => /xml\/index\.[^\/]*$/},\ | ||
- {"path" => "xml/includes", "name" => "XML File Includes"},\ | ||
- {"path" => "xml/tutorial", "name" => "Map Tutorial"},\ | ||
- "Game Modes",\ | ||
- {"path" => "modules/gamemode_ctw", "name" => "Capture the Wool"},\ | ||
- {"path" => "modules/gamemode_dtm", "name" => "Destroy the Monument"},\ | ||
- {"path" => "modules/gamemode_blitz", "name" => "Blitz"},\ | ||
- {"path" => "modules/gamemode_dtc", "name" => "Destroy the Core"},\ | ||
- {"path" => "modules/gamemode_tdm", "name" => "Team Death-match"},\ | ||
- {"path" => "modules/gamemode_other", "name" => "Other Game Modes"},\ | ||
- {"path" => "xml/gamemode_ctw", "name" => "Capture the Wool"},\ | ||
- {"path" => "xml/gamemode_dtm", "name" => "Destroy the Monument"},\ | ||
- {"path" => "xml/gamemode_blitz", "name" => "Blitz"},\ | ||
- {"path" => "xml/gamemode_dtc", "name" => "Destroy the Core"},\ | ||
- {"path" => "xml/gamemode_tdm", "name" => "Team Death-match"},\ | ||
- {"path" => "xml/gamemode_other", "name" => "Other Game Modes"},\ | ||
- "Game Settings",\ | ||
- {"path" => "modules/teams", "name" => "Teams"},\ | ||
- {"path" => "modules/rules", "name" => "Rules"},\ | ||
- {"path" => "modules/kits", "name" => "Kits"},\ | ||
- {"path" => "modules/classes", "name" => "Classes"},\ | ||
- {"path" => "modules/items", "name" => "Items & Armor"},\ | ||
- {"path" => "modules/potions", "name" => "Potion Effects"},\ | ||
- {"path" => "modules/repair_remove", "name" => "Repair & Remove"},\ | ||
- {"path" => "modules/disabledamage", "name" => "Disable Damage"},\ | ||
- {"path" => "modules/projectiles", "name" => "Projectiles"},\ | ||
- {"path" => "modules/tnt", "name" => "TNT"},\ | ||
- {"path" => "modules/mobs", "name" => "Mob Spawning"},\ | ||
- {"path" => "modules/killreward", "name" => "Kill Reward"},\ | ||
- {"path" => "modules/other_settings", "name" => "Other Settings"},\ | ||
- {"path" => "xml/teams", "name" => "Teams"},\ | ||
- {"path" => "xml/rules", "name" => "Rules"},\ | ||
- {"path" => "xml/kits", "name" => "Kits"},\ | ||
- {"path" => "xml/classes", "name" => "Classes"},\ | ||
- {"path" => "xml/items", "name" => "Items & Armor"},\ | ||
- {"path" => "xml/potions", "name" => "Potion Effects"},\ | ||
- {"path" => "xml/repair_remove", "name" => "Repair & Remove"},\ | ||
- {"path" => "xml/disabledamage", "name" => "Disable Damage"},\ | ||
- {"path" => "xml/projectiles", "name" => "Projectiles"},\ | ||
- {"path" => "xml/tnt", "name" => "TNT"},\ | ||
- {"path" => "xml/mobs", "name" => "Mob Spawning"},\ | ||
- {"path" => "xml/killreward", "name" => "Kill Reward"},\ | ||
- {"path" => "xml/other_settings", "name" => "Other Settings"},\ | ||
- "Filters & Regions",\ | ||
- {"path" => "modules/filters", "name" => "Filters"},\ | ||
- {"path" => "modules/regions", "name" => "Regions"},\ | ||
- {"path" => "modules/spawns", "name" => "Spawns"},\ | ||
- {"path" => "modules/playable_region", "name" => "Playable Region"},\ | ||
- {"path" => "modules/lanes", "name" => "Lanes"},\ | ||
- {"path" => "modules/portals", "name" => "Portals"},\ | ||
- {"path" => "modules/score_boxes", "name" => "Score Boxes"}] | ||
- {"path" => "xml/filters", "name" => "Filters"},\ | ||
- {"path" => "xml/regions", "name" => "Regions"},\ | ||
- {"path" => "xml/spawns", "name" => "Spawns"},\ | ||
- {"path" => "xml/playable_region", "name" => "Playable Region"},\ | ||
- {"path" => "xml/lanes", "name" => "Lanes"},\ | ||
- {"path" => "xml/portals", "name" => "Portals"},\ | ||
- {"path" => "xml/score_boxes", "name" => "Score Boxes"}] | ||
|
||
= partial('sidebar') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
- @nav_title = "General Reference" | ||
- @subnav_content = [\ | ||
- {"path" => "reference/inventory", "name" => "Inventory"},\ | ||
- {"path" => "reference/formatting", "name" => "Formatting & Colors"},\ | ||
- {"path" => "reference/enchantments", "name" => "Enchantments"},\ | ||
- {"path" => "reference/potion_effects", "name" => "Potions"}] | ||
- {"path" => "xml/reference/inventory", "name" => "Inventory"},\ | ||
- {"path" => "xml/reference/formatting", "name" => "Formatting & Colors"},\ | ||
- {"path" => "xml/reference/enchantments", "name" => "Enchantments"},\ | ||
- {"path" => "xml/reference/potion_effects", "name" => "Potions"}] | ||
|
||
= partial('sidebar') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
%li.pull-right{:class => (current_page.include?("/src/xml/examples") ? "active" : "")} | ||
%a{:href => "/xml/examples/"} | ||
%i.glyphicon.glyphicon-file | ||
Examples | ||
%li.pull-right{:class => (current_page.include?("/src/xml/reference") ? "active" : "")} | ||
%a{:href => "/xml/reference/inventory"} | ||
%i.glyphicon.glyphicon-book | ||
Reference | ||
%li.pull-right{:class => (current_page.match(/\/src\/xml\/[^\/]*$/) != nil ? "active" : "")} | ||
%a{:href => "/xml/"} | ||
%i.glyphicon.glyphicon-th-large | ||
Modules | ||
This comment has been minimized.
Sorry, something went wrong. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.container | ||
.jumbotron.jumbotron-mini | ||
%h1 PGM API Documentation | ||
%p.lead Proper API Usage | ||
%section | ||
.page-header | ||
%h1 Welcome | ||
%p Etiam porta sem malesuada magna mollis euismod. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.container | ||
.jumbotron.jumbotron-mini | ||
%h1 PGM API Documentation | ||
%p.lead Reference | ||
%section | ||
.page-header | ||
%h1 Risus Ornare | ||
%p Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
.container | ||
.jumbotron.subhead | ||
%h1 PGM XML Documentation | ||
%p.lead Documentation on XML files that are required for each map added to the servers | ||
%section | ||
.page-header | ||
%h1 Welcome | ||
%p These docs provide valuable information to be used when coding XML files. XML files are needed in order for any map released on the Overcast Network to function. The XML defines aspects of the game such as spawn points, kits and more. | ||
%p Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Sed posuere consectetur est at lobortis. | ||
.row | ||
.col-md-6.text-center | ||
.well | ||
%h1 | ||
%i.glyphicon.glyphicon-file | ||
%h4 XML Documentation | ||
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. | ||
%a.btn.btn-primary.btn-lg{:href => "/xml/"} Browse the XML docs | ||
|
||
|
||
.col-md-6.text-center | ||
.well | ||
%h1 | ||
%i.glyphicon.glyphicon-globe | ||
%h4 Web API Documentation | ||
%p Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. | ||
%a.btn.btn-primary.btn-lg{:href => "/api/"} Browse the API docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Modules | ||
%p.lead Game Settings | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Modules | ||
%p.lead Game Settings | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
2 changes: 1 addition & 1 deletion
2
src/examples/snowy_wars.haml → src/xml/examples/snowy_wars.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Examples | ||
%p.lead XML File Examples | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Modules | ||
%p.lead Filters & Regions | ||
%section | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.container | ||
.jumbotron.subhead | ||
.jumbotron.jumbotron-mini | ||
%h1 Modules | ||
%p.lead Game Modes | ||
%section | ||
|
Oops, something went wrong.
where dem new lines at ;(