mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-29 22:08:34 +01:00
Compare commits
No commits in common. "b4c4217e456604a4d57db225830ebcb0f0e64dc3" and "0de969fc5bb586722c6d39156a45a0c0cea8c9e9" have entirely different histories.
b4c4217e45
...
0de969fc5b
5 changed files with 35 additions and 20 deletions
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"version": 1,
|
|
||||||
"isRoot": false,
|
|
||||||
"tools": {
|
|
||||||
"docfx": {
|
|
||||||
"version": "2.61.0",
|
|
||||||
"commands": [
|
|
||||||
"docfx"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -15,15 +15,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Docs') {
|
stage('Docs') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh '''cd docs
|
sh 'cd docs; docfx.exe'
|
||||||
dotnet tool restore
|
|
||||||
dotnet docfx'''
|
|
||||||
sh 'rm -rf /var/www/tinylifedocs/*'
|
sh 'rm -rf /var/www/tinylifedocs/*'
|
||||||
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
|
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
27
docs/templates/darkfx/styles/main.css
vendored
27
docs/templates/darkfx/styles/main.css
vendored
|
@ -441,3 +441,30 @@ input:checked + .slider:before {
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
vertical-align: middle;
|
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;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,8 +1,10 @@
|
||||||
- name: Get the Game
|
- name: Get the Game
|
||||||
href: https://tinylifegame.com
|
href: https://tinylifegame.com
|
||||||
|
- name: Roadmap
|
||||||
|
href: https://tinylifegame.com/roadmap
|
||||||
- name: Tutorials
|
- name: Tutorials
|
||||||
href: articles/
|
href: articles/
|
||||||
- name: API Documentation
|
- name: API Documentation
|
||||||
href: api/
|
href: api/
|
||||||
- name: Changelog
|
- name: Changelog
|
||||||
href: ../Changelog.md
|
href: ../Changelog.md
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a class="link" href="https://twitter.com/TinyLifeGame">Follow on Twitter</a>
|
<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://ellpeck.de/discord">Join the Discord</a>
|
||||||
<a class="link" href="https://docs.tinylifegame.com">See Documentation</a>
|
<a class="link" href="https://docs.tinylifegame.com">See Modding Docs</a>
|
||||||
<a class="link" href="https://press.ellpeck.de/tinylife/">Get Press Kit</a>
|
<a class="link" href="https://press.ellpeck.de/tinylife/">Get Press Kit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue