From 3559527bdaf70137b1d884efc4a67bd6e1fcf159 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 9 Feb 2023 22:25:41 +0100 Subject: [PATCH] some small improvements --- Jenkinsfile | 8 ++++---- docs/templates/darkfx/styles/main.css | 27 --------------------------- docs/toc.yml | 4 +--- web/_includes/top.html | 2 +- 4 files changed, 6 insertions(+), 35 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f231d88..f923d5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,13 +15,13 @@ pipeline { } stage('Docs') { when { - branch 'main' + branch 'main' } steps { - sh 'cd docs; docfx.exe' + sh 'cd docs; docfx' sh 'rm -rf /var/www/tinylifedocs/*' - sh 'cp -r docs/_site/. /var/www/tinylifedocs/' + sh 'cp -r docs/_site/. /var/www/tinylifedocs/' } } } -} \ No newline at end of file +} diff --git a/docs/templates/darkfx/styles/main.css b/docs/templates/darkfx/styles/main.css index 078adc7..7e3fa03 100644 --- a/docs/templates/darkfx/styles/main.css +++ b/docs/templates/darkfx/styles/main.css @@ -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; - } -} \ No newline at end of file diff --git a/docs/toc.yml b/docs/toc.yml index 96e1e0f..3eea521 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -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 diff --git a/web/_includes/top.html b/web/_includes/top.html index 1e64483..298f699 100644 --- a/web/_includes/top.html +++ b/web/_includes/top.html @@ -20,7 +20,7 @@ Follow on Twitter Join the Discord - See Modding Docs + See Documentation Get Press Kit