Compare commits

..

2 commits

Author SHA1 Message Date
Ell
b4c4217e45 added local docfx installation 2023-02-09 22:32:05 +01:00
Ell
3559527bda some small improvements 2023-02-09 22:25:41 +01:00
5 changed files with 20 additions and 35 deletions

12
.config/dotnet-tools.json Normal file
View file

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": false,
"tools": {
"docfx": {
"version": "2.61.0",
"commands": [
"docfx"
]
}
}
}

10
Jenkinsfile vendored
View file

@ -15,13 +15,15 @@ pipeline {
}
stage('Docs') {
when {
branch 'main'
branch 'main'
}
steps {
sh 'cd docs; docfx.exe'
sh '''cd docs
dotnet tool restore
dotnet docfx'''
sh 'rm -rf /var/www/tinylifedocs/*'
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
}
}
}
}
}

View file

@ -441,30 +441,3 @@ input:checked + .slider:before {
padding-left: 7px;
vertical-align: middle;
}
@media (min-width: 1600px) {
.container {
width: 100%;
}
.sidefilter {
width: 18%;
}
.sidetoc {
width: 18%;
}
.article.grid-right {
margin-left: 19%;
}
.sideaffix {
width: 11.5%;
}
.affix ul>li.active>a {
white-space: initial;
}
.affix ul>li>a {
width: 99%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}

View file

@ -1,10 +1,8 @@
- name: Get the Game
href: https://tinylifegame.com
- name: Roadmap
href: https://tinylifegame.com/roadmap
- name: Tutorials
href: articles/
- name: API Documentation
href: api/
- name: Changelog
href: ../Changelog.md
href: ../Changelog.md

View file

@ -20,7 +20,7 @@
</div>
<a class="link" href="https://twitter.com/TinyLifeGame">Follow on Twitter</a>
<a class="link" href="https://ellpeck.de/discord">Join the Discord</a>
<a class="link" href="https://docs.tinylifegame.com">See Modding Docs</a>
<a class="link" href="https://docs.tinylifegame.com">See Documentation</a>
<a class="link" href="https://press.ellpeck.de/tinylife/">Get Press Kit</a>
</div>
</div>