diff --git a/_config.yml b/_config.yml index 346aef9..45b998b 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,2 @@ theme: jekyll-theme-dinky +permalink: pretty diff --git a/_layout/default.html b/_layout/default.html index e69de29..bca7fe7 100644 --- a/_layout/default.html +++ b/_layout/default.html @@ -0,0 +1,70 @@ + + + + + + +{% seo %} + + + + + + + +
+
+

{{ site.title | default: site.github.repository_name }}

+

{{ site.description | default: site.github.project_tagline }}

+ + + + {% if site.github.is_project_page %} +

This project is maintained by {{ site.github.owner_name }}

+ {% endif %} + + {% if site.github.is_user_page %} + + {% endif %} +
+ +
+ {{ content }} +
+ + +
+ + {% if site.google_analytics %} + + {% endif %} + + diff --git a/docs/Campaign/index.md b/docs/Campaign.md similarity index 100% rename from docs/Campaign/index.md rename to docs/Campaign.md diff --git a/docs/CampaignFactory/index.md b/docs/CampaignFactory.md similarity index 100% rename from docs/CampaignFactory/index.md rename to docs/CampaignFactory.md diff --git a/docs/CategoricalEvent/index.md b/docs/CategoricalEvent.md similarity index 100% rename from docs/CategoricalEvent/index.md rename to docs/CategoricalEvent.md diff --git a/docs/CentralizedOracle/index.md b/docs/CentralizedOracle.md similarity index 100% rename from docs/CentralizedOracle/index.md rename to docs/CentralizedOracle.md diff --git a/docs/CentralizedOracleFactory/index.md b/docs/CentralizedOracleFactory.md similarity index 100% rename from docs/CentralizedOracleFactory/index.md rename to docs/CentralizedOracleFactory.md diff --git a/docs/DifficultyOracle/index.md b/docs/DifficultyOracle.md similarity index 100% rename from docs/DifficultyOracle/index.md rename to docs/DifficultyOracle.md diff --git a/docs/DifficultyOracleFactory/index.md b/docs/DifficultyOracleFactory.md similarity index 100% rename from docs/DifficultyOracleFactory/index.md rename to docs/DifficultyOracleFactory.md diff --git a/docs/EtherToken/index.md b/docs/EtherToken.md similarity index 100% rename from docs/EtherToken/index.md rename to docs/EtherToken.md diff --git a/docs/Event/index.md b/docs/Event.md similarity index 100% rename from docs/Event/index.md rename to docs/Event.md diff --git a/docs/EventFactory/index.md b/docs/EventFactory.md similarity index 100% rename from docs/EventFactory/index.md rename to docs/EventFactory.md diff --git a/docs/FutarchyOracle/index.md b/docs/FutarchyOracle.md similarity index 100% rename from docs/FutarchyOracle/index.md rename to docs/FutarchyOracle.md diff --git a/docs/FutarchyOracleFactory/index.md b/docs/FutarchyOracleFactory.md similarity index 100% rename from docs/FutarchyOracleFactory/index.md rename to docs/FutarchyOracleFactory.md diff --git a/docs/HumanFriendlyToken/index.md b/docs/HumanFriendlyToken.md similarity index 100% rename from docs/HumanFriendlyToken/index.md rename to docs/HumanFriendlyToken.md diff --git a/docs/LMSRMarketMaker/index.md b/docs/LMSRMarketMaker.md similarity index 100% rename from docs/LMSRMarketMaker/index.md rename to docs/LMSRMarketMaker.md diff --git a/docs/MajorityOracle/index.md b/docs/MajorityOracle.md similarity index 100% rename from docs/MajorityOracle/index.md rename to docs/MajorityOracle.md diff --git a/docs/MajorityOracleFactory/index.md b/docs/MajorityOracleFactory.md similarity index 100% rename from docs/MajorityOracleFactory/index.md rename to docs/MajorityOracleFactory.md diff --git a/docs/Market/index.md b/docs/Market.md similarity index 100% rename from docs/Market/index.md rename to docs/Market.md diff --git a/docs/MarketMaker/index.md b/docs/MarketMaker.md similarity index 100% rename from docs/MarketMaker/index.md rename to docs/MarketMaker.md diff --git a/docs/Math/index.md b/docs/Math.md similarity index 100% rename from docs/Math/index.md rename to docs/Math.md diff --git a/docs/Oracle/index.md b/docs/Oracle.md similarity index 100% rename from docs/Oracle/index.md rename to docs/Oracle.md diff --git a/docs/OutcomeToken/index.md b/docs/OutcomeToken.md similarity index 100% rename from docs/OutcomeToken/index.md rename to docs/OutcomeToken.md diff --git a/docs/ScalarEvent/index.md b/docs/ScalarEvent.md similarity index 100% rename from docs/ScalarEvent/index.md rename to docs/ScalarEvent.md diff --git a/docs/SignedMessageOracle/index.md b/docs/SignedMessageOracle.md similarity index 100% rename from docs/SignedMessageOracle/index.md rename to docs/SignedMessageOracle.md diff --git a/docs/SignedMessageOracleFactory/index.md b/docs/SignedMessageOracleFactory.md similarity index 100% rename from docs/SignedMessageOracleFactory/index.md rename to docs/SignedMessageOracleFactory.md diff --git a/docs/StandardMarket/index.md b/docs/StandardMarket.md similarity index 100% rename from docs/StandardMarket/index.md rename to docs/StandardMarket.md diff --git a/docs/StandardMarketFactory/index.md b/docs/StandardMarketFactory.md similarity index 100% rename from docs/StandardMarketFactory/index.md rename to docs/StandardMarketFactory.md diff --git a/docs/StandardMarketWithPriceLogger/index.md b/docs/StandardMarketWithPriceLogger.md similarity index 100% rename from docs/StandardMarketWithPriceLogger/index.md rename to docs/StandardMarketWithPriceLogger.md diff --git a/docs/StandardMarketWithPriceLoggerFactory/index.md b/docs/StandardMarketWithPriceLoggerFactory.md similarity index 100% rename from docs/StandardMarketWithPriceLoggerFactory/index.md rename to docs/StandardMarketWithPriceLoggerFactory.md diff --git a/docs/StandardToken/index.md b/docs/StandardToken.md similarity index 100% rename from docs/StandardToken/index.md rename to docs/StandardToken.md diff --git a/docs/Token/index.md b/docs/Token.md similarity index 100% rename from docs/Token/index.md rename to docs/Token.md diff --git a/docs/UltimateOracle/index.md b/docs/UltimateOracle.md similarity index 100% rename from docs/UltimateOracle/index.md rename to docs/UltimateOracle.md diff --git a/docs/UltimateOracleFactory/index.md b/docs/UltimateOracleFactory.md similarity index 100% rename from docs/UltimateOracleFactory/index.md rename to docs/UltimateOracleFactory.md diff --git a/scripts/makedocs.sh b/scripts/makedocs.sh index 6a6348a..a05aa14 100755 --- a/scripts/makedocs.sh +++ b/scripts/makedocs.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash rm -r docs -find contracts -name '*.sol' ! -name 'Migrations.sol' -type f -exec bash -c 'mkdir -p docs/`basename {} .sol`; ./node_modules/.bin/solmd {} --dest docs/`basename {} .sol`/index.md' \; +mkdir docs +find contracts -name '*.sol' ! -name 'Migrations.sol' -type f -exec bash -c './node_modules/.bin/solmd {} --dest docs/`basename {} .sol`.md' \;