Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .github/workflows/mdbook.yml
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
22 changes: 2 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -292,23 +292,5 @@ TestMap/
# Decompiled project
DerailValley/

### Package Builder
# What kind of git nonsense is this...
# Required Assets
!PackageBuilder/
PackageBuilder/*
!PackageBuilder/Assets/
PackageBuilder/Assets/*
!PackageBuilder/Assets/Mapify/
!PackageBuilder/Assets/Mapify.meta
PackageBuilder/Assets/Mapify/Scripts/*
!PackageBuilder/Assets/Mapify/Scripts/*meta
# Project Settings
!PackageBuilder/ProjectSettings/
PackageBuilder/ProjectSettings/*
!PackageBuilder/ProjectSettings/ProjectSettings.asset
!PackageBuilder/ProjectSettings/EditorSettings.asset
!PackageBuilder/ProjectSettings/PackageManagerSettings.asset
!PackageBuilder/ProjectSettings/ProjectVersion.txt
# Packages
!PackageBuilder/Packages
# docs generated files
docs/book
20 changes: 0 additions & 20 deletions .readthedocs.yaml

This file was deleted.

82 changes: 82 additions & 0 deletions PackageBuilder/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Mapify scripts
Assets/Mapify/Scripts/*.dll

# Project Settings
ProjectSettings/*
!ProjectSettings/ProjectSettings.asset
!ProjectSettings/EditorSettings.asset
!ProjectSettings/PackageManagerSettings.asset
!ProjectSettings/ProjectVersion.txt

# 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/*
6 changes: 6 additions & 0 deletions docs/book.toml
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"
21 changes: 0 additions & 21 deletions docs/contributing/docs.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/index.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/requirements.in

This file was deleted.

64 changes: 0 additions & 64 deletions docs/requirements.txt

This file was deleted.

28 changes: 28 additions & 0 deletions docs/src/SUMMARY.md
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.
11 changes: 11 additions & 0 deletions docs/src/contributing/docs.md
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.
3 changes: 3 additions & 0 deletions docs/src/creatingmaps/index.md
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.
11 changes: 11 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Welcome

![Banner](assets/banner.png)

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.
Loading