diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e73760e8..894c5e98 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,6 +3,9 @@ name: Build on: push: branches: [dev, master] + paths-ignore: + - docs/** + - "**schema**" pull_request: workflow_dispatch: diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index f8fb877a..0826e7fb 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -66,6 +66,12 @@ jobs: cp NewHorizons/translation_schema.json content/pages/schemas/ cp NewHorizons/shiplog_schema.xsd content/pages/schemas/ cp NewHorizons/dialogue_schema.xsd content/pages/schemas/ + + - name: Cache Site + uses: actions/cache@v2 + with: + path: .m_cache + key: docs-cache - name: Build Site uses: VaultVulp/action-pipenv@v2.0.1 diff --git a/docs/Pipfile.lock b/docs/Pipfile.lock index 6952676f..800ffc80 100644 --- a/docs/Pipfile.lock +++ b/docs/Pipfile.lock @@ -114,7 +114,7 @@ "sha256:66784a3d37c8f730588524cc8f103448847533f067ba8b5d76e7667675ee31f1", "sha256:ed900db6b19b41bf681513c48ae5e403632878745775ddfc8d5b73438d2930fe" ], - "markers": "python_version >= '3.7' and python_version < '4.0'", + "markers": "python_version >= '3.7' and python_version < '4'", "version": "==0.40.2" }, "jsonschema": { @@ -138,7 +138,7 @@ "sha256:412520c7b6bba540c2c2067d6be3a523ab885703bf6a81d93963f848b55dfb9a", "sha256:f344d4adfba5d1de821f7850b36e3507f583468a7eb47e6fa191765ed0b9c66b" ], - "markers": "python_version >= '3.5' and python_version < '4.0'", + "markers": "python_version >= '3.5' and python_version < '4'", "version": "==2.4.3" }, "markupsafe": { @@ -204,11 +204,11 @@ }, "menagerie-docs": { "hashes": [ - "sha256:fb68b5cfd7046fd619179a190fc49a0e6c0d33a53456e95df08c045448800bda", - "sha256:fd17cd85da13196dfceaa6d6a65097aea28a2cdecf5dc69e6e92f273b15fd759" + "sha256:ecfcda7aca8ffc6cb910d38a7fd9571297b35dc33863cacc605356e5ee8f3cf8", + "sha256:f5c463840d915b18856bc93ec35f13ea8fe77556b7c790c7759db061247eda96" ], "index": "pypi", - "version": "==0.1.1" + "version": "==0.1.2" }, "mypy-extensions": { "hashes": [ @@ -222,7 +222,7 @@ "sha256:5053fc5ca7b8a281081274702ebf1584e341f40a68e6ab8f6b4b79f4b3fdf18e", "sha256:8e8226f15c0b25565aa391797963b78c95930e12efc40e905153130783e766be" ], - "markers": "python_version >= '3.8' and python_version < '4.0'", + "markers": "python_version >= '3.8' and python_version < '4'", "version": "==0.1.0" }, "packaging": { @@ -453,7 +453,7 @@ "sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14", "sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'", "version": "==1.26.9" }, "xmlschema": { diff --git a/docs/config.json b/docs/config.json index d3c27c4d..d7826d18 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/Bwc9876/menagerie/master/menagerie/schemas/config_schema.json", - "cache_enabled": false, + "cache_enabled": true, "base_url": "https://nh.outerwildsmods.com/", "themes": { "bootstrap": "https://bootswatch.com/5/darkly/bootstrap.min.css",