-
-
Notifications
You must be signed in to change notification settings - Fork 5
mdBook documentation #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
t0stiman
wants to merge
11
commits into
master
Choose a base branch
from
mdbook
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
mdBook documentation #115
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
9a73c0e
mdbook docs
t0stiman 4273f1c
docs build instructions
t0stiman f5f8c32
gitignore
t0stiman cac430a
rm obsolete yaml files
t0stiman 637d510
Merge branch 'master' of github.com:Insprill/dv-mapify into mdbook
t0stiman bf56200
Add GitHub repo to mdbook config, remove redundant options
Insprill cad0626
Merge branch 'master' of github.com:Insprill/dv-mapify into mdbook
t0stiman 989a581
Merge branch 'master' of github.com:Insprill/dv-mapify into mdbook
t0stiman 9f951a8
add mdbook workflow
t0stiman f6fe246
rm docs/requirements.txt (left over from old docs system)
t0stiman ae10376
move PackageBuilder ignores to PackageBuilder/.gitignore
t0stiman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,60 @@ | ||
| # Sample workflow for building and deploying a mdBook site to GitHub Pages | ||
| # | ||
| # To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html | ||
| # | ||
| name: Deploy mdBook site to Pages | ||
|
|
||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["master"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Build job | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| MDBOOK_VERSION: 0.4.36 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install mdBook | ||
| run: | | ||
| curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh | ||
| rustup update | ||
| cargo install --version ${MDBOOK_VERSION} mdbook | ||
| - name: Setup Pages | ||
| id: pages | ||
| uses: actions/configure-pages@v5 | ||
| - name: Build with mdBook | ||
| run: mdbook build docs/ | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: ./docs/book | ||
|
|
||
| # Deployment job | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,72 @@ | ||
| # This .gitignore file should be placed at the root of your Unity project directory | ||
| # | ||
| # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore | ||
| # | ||
| /[Ll]ibrary/ | ||
| /[Tt]emp/ | ||
| /[Oo]bj/ | ||
| /[Bb]uild/ | ||
| /[Bb]uilds/ | ||
| /[Ll]ogs/ | ||
| /[Uu]ser[Ss]ettings/ | ||
|
|
||
| # MemoryCaptures can get excessive in size. | ||
| # They also could contain extremely sensitive data | ||
| /[Mm]emoryCaptures/ | ||
|
|
||
| # Recordings can get excessive in size | ||
| /[Rr]ecordings/ | ||
|
|
||
| # Uncomment this line if you wish to ignore the asset store tools plugin | ||
| # /[Aa]ssets/AssetStoreTools* | ||
|
|
||
| # Autogenerated Jetbrains Rider plugin | ||
| /[Aa]ssets/Plugins/Editor/JetBrains* | ||
|
|
||
| # Visual Studio cache directory | ||
| .vs/ | ||
|
|
||
| # Gradle cache directory | ||
| .gradle/ | ||
|
|
||
| # Autogenerated VS/MD/Consulo solution and project files | ||
| ExportedObj/ | ||
| .consulo/ | ||
| *.csproj | ||
| *.unityproj | ||
| *.sln | ||
| *.suo | ||
| *.tmp | ||
| *.user | ||
| *.userprefs | ||
| *.pidb | ||
| *.booproj | ||
| *.svd | ||
| *.pdb | ||
| *.mdb | ||
| *.opendb | ||
| *.VC.db | ||
|
|
||
| # Unity3D generated meta files | ||
| *.pidb.meta | ||
| *.pdb.meta | ||
| *.mdb.meta | ||
|
|
||
| # Unity3D generated file on crash reports | ||
| sysinfo.txt | ||
|
|
||
| # Builds | ||
| *.apk | ||
| *.aab | ||
| *.unitypackage | ||
| *.app | ||
|
|
||
| # Crashlytics generated file | ||
| crashlytics-build.properties | ||
|
|
||
| # Packed Addressables | ||
| /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* | ||
|
|
||
| # Temporary auto-generated Android Assets | ||
| /[Aa]ssets/[Ss]treamingAssets/aa.meta | ||
| /[Aa]ssets/[Ss]treamingAssets/aa/* |
This file contains hidden or 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,6 @@ | ||
| [book] | ||
| title = "Mapify" | ||
| authors = ["Insprill", "Tostiman"] | ||
|
|
||
| [output.html] | ||
| git-repository-url = "https://github.com/Insprill/dv-mapify" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,64 +0,0 @@ | ||
| # | ||
| # This file is autogenerated by pip-compile with Python 3.10 | ||
| # by the following command: | ||
| # | ||
| # pip-compile docs/requirements.in | ||
| # | ||
| certifi==2024.7.4 | ||
| # via requests | ||
| charset-normalizer==3.1.0 | ||
| # via requests | ||
| click==8.1.3 | ||
| # via mkdocs | ||
| colorama==0.4.6 | ||
| # via mkdocs-material | ||
| ghp-import==2.1.0 | ||
| # via mkdocs | ||
| idna==3.7 | ||
| # via requests | ||
| jinja2==3.1.6 | ||
| # via | ||
| # mkdocs | ||
| # mkdocs-material | ||
| markdown==3.3.7 | ||
| # via | ||
| # mkdocs | ||
| # mkdocs-material | ||
| # pymdown-extensions | ||
| markupsafe==2.1.2 | ||
| # via jinja2 | ||
| mergedeep==1.3.4 | ||
| # via mkdocs | ||
| mkdocs==1.4.2 | ||
| # via | ||
| # -r requirements.in | ||
| # mkdocs-material | ||
| mkdocs-material==9.1.6 | ||
| # via -r requirements.in | ||
| mkdocs-material-extensions==1.1.1 | ||
| # via mkdocs-material | ||
| packaging==23.0 | ||
| # via mkdocs | ||
| pygments==2.15.0 | ||
| # via mkdocs-material | ||
| pymdown-extensions==10.0 | ||
| # via mkdocs-material | ||
| python-dateutil==2.8.2 | ||
| # via ghp-import | ||
| pyyaml==6.0 | ||
| # via | ||
| # mkdocs | ||
| # pymdown-extensions | ||
| # pyyaml-env-tag | ||
| pyyaml-env-tag==0.1 | ||
| # via mkdocs | ||
| regex==2023.3.23 | ||
| # via mkdocs-material | ||
| requests==2.32.4 | ||
| # via mkdocs-material | ||
| six==1.16.0 | ||
| # via python-dateutil | ||
| urllib3==2.5.0 | ||
| # via requests | ||
| watchdog==3.0.0 | ||
| # via mkdocs | ||
This file contains hidden or 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,28 @@ | ||
| # Summary | ||
|
|
||
| [Home](./index.md) | ||
|
|
||
| # User guide | ||
|
|
||
| - [Using maps](./usage/index.md) | ||
|
|
||
| # Development | ||
|
|
||
| - [Creating maps](./creatingmaps/index.md) | ||
| - [Project Setup](./creatingmaps/project-setup.md) | ||
| - [Terrain](./creatingmaps/terrain.md) | ||
| - [Decoration](./creatingmaps/decoration.md) | ||
| - [Railway](./creatingmaps/railway.md) | ||
| - [Job Generation](./creatingmaps/jobs.md) | ||
| - [Area Blockers](./creatingmaps/area-blockers.md) | ||
| - [Service Stations](./creatingmaps/service-stations.md) | ||
| - [Stores](./creatingmaps/stores.md) | ||
| - [Lighting & Post Processing](./creatingmaps/lighting.md) | ||
| - [Exporting Your Map](./creatingmaps/exporting.md) | ||
| - [Updating Mapify](./creatingmaps/updating.md) | ||
|
|
||
| - [Contributing to Mapify](./contributing/index.md) | ||
| - [Building The Project](./contributing/building.md) | ||
| - [Building Documentation](./contributing/docs.md) | ||
|
|
||
|
|
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains hidden or 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,11 @@ | ||
| # Building Documentation | ||
|
|
||
| --- | ||
|
|
||
| To build Mapify's docs, first install mdBook by following the [installation instructions here](https://rust-lang.github.io/mdBook/guide/installation.html). | ||
|
|
||
| Run `mdbook serve --open` in the `docs` folder to view the documentation in your webbrowser. | ||
|
|
||
| To build the docs, run `mdbook build`. | ||
|
|
||
| For information on how mdBook works, check out [their documentation](https://rust-lang.github.io/mdBook/index.html). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,3 @@ | ||
| # Creating maps | ||
|
|
||
| So you want to create your own map? Great! Start here: [Project Setup](./creatingmaps/project-setup.md). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,11 @@ | ||
| # Welcome | ||
|
|
||
|  | ||
|
|
||
| Mapify is a [Derail Valley](https://www.derailvalley.com/) mod for creating and loading custom maps. | ||
| Here you can find all the information you'll need to create maps and contribute to the project! | ||
|
|
||
| If you want to start creating maps, head to the [Project Setup](./creatingmaps/project-setup.md) page. | ||
| If you want to contribute to the project through code or documentation improvements, check out the [Contributing](./contributing/index.md) page. | ||
|
|
||
| If you're just a user who wants to install and use maps, visit the [Using maps](./usage/index.md) page. |
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why were some of these moved to a dedicated .gitignore and some aren't? These changes should be moved to a separate PR so it doesn't block this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea was to have
PackageBuilder/.gitignorebe a pure, unchanged Unity gitignore file and specify our own additions in the main gitignore.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can move the lines concerning PackageBuilder into
PackageBuilder/.gitignoreif you want?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think that makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done