Skip to content

Commit 9325fd3

Browse files
authored
Merge pull request #484 from ow-mods/dev
2.7.1
2 parents c7a0a2a + 40db25c commit 9325fd3

File tree

146 files changed

+11155
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+11155
-16
lines changed

.github/workflows/docs_build.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: Build Docs
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- docs/**
8+
- schemas/*.json
9+
10+
env:
11+
URL_PREFIX: '/'
12+
PIPENV_VENV_IN_PROJECT: 1
13+
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: true
22+
23+
jobs:
24+
build:
25+
name: Build Docs
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
31+
- uses: szenius/set-timezone@v1.0
32+
with:
33+
timezoneLinux: "America/New York"
34+
35+
- run: mkdir ./.venv
36+
37+
- run: cp -r docs/** .
38+
39+
- name: Cache Dependencies
40+
uses: actions/cache@v2
41+
id: cache-dependencies
42+
with:
43+
path: ./.venv
44+
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}
45+
restore-keys: |
46+
${{ runner.os }}-pipenv
47+
48+
- name: Install dependecies
49+
uses: VaultVulp/action-pipenv@v2.0.1
50+
with:
51+
command: install --dev
52+
53+
- name: Copy Schemas
54+
run: cp -rf schemas content/pages/
55+
56+
- name: Build Site
57+
uses: VaultVulp/action-pipenv@v2.0.1
58+
with:
59+
command: run menagerie generate
60+
61+
- name: Upload Artifact
62+
if: success() && github.ref == 'refs/heads/master'
63+
uses: actions/upload-pages-artifact@v1
64+
with:
65+
path: out/
66+
67+
deploy:
68+
environment:
69+
name: github-pages
70+
url: ${{ steps.deployment.outputs.page_url }}
71+
runs-on: ubuntu-latest
72+
name: Deploy Docs
73+
needs: build
74+
if: github.ref == 'refs/heads/master'
75+
steps:
76+
- name: Deploy to GitHub Pages
77+
id: deployment
78+
uses: actions/deploy-pages@v1
79+

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: CI
33
on:
44
push:
55
branches: [ master ]
6+
paths-ignore:
7+
- docs/**
68
pull_request:
79
workflow_dispatch:
810

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,8 @@ healthchecksdb
355355
MigrationBackup/
356356

357357
# End of https://www.gitignore.io/api/visualstudio
358+
359+
# Docs Site
360+
361+
docs/.m_cache/
362+
docs/out/

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"cSpell.words": [
3+
"decompiler",
4+
"decompiling",
5+
"Dependants",
6+
"everytime",
7+
"Untarget"
8+
]
9+
}

Readme.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,7 @@ Refer to the sample mods in the source code for examples. These mods are not inc
4242

4343
### Get started
4444

45-
1. Create a C# class library project targeting .Net Framework 4.8.
46-
2. Install the [OWML Nuget package](https://www.nuget.org/packages/OWML/).
47-
3. Reference the following files in {gamePath}\OuterWilds_Data\Managed:
48-
* Assembly-CSharp.dll
49-
* UnityEngine.CoreModule.dll
50-
* More Unity DLLs if needed
51-
4. Inherit from ModBehaviour.
52-
53-
For more info, see [For modders](https://github.com/amazingalek/owml/wiki/For-modders).
45+
To get started, check out [our tutorial on the docs]("https://owml.outerwildsmods.com/guides/getting_started.html")
5446

5547
## Compatibility
5648

docs/.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
URL_PREFIX=/
2+
ENABLE_VIRTUAL_TERMINAL_PROCESSING=1

docs/Pipfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
menagerie-docs = "*"
8+
9+
[dev-packages]
10+
11+
[requires]
12+
python_version = "3.10"

0 commit comments

Comments
 (0)