mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
feat(docs): add page specific last updated footer
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
parent
8270062157
commit
c03ef1c900
8
.github/workflows/sphinxbuild.yml
vendored
8
.github/workflows/sphinxbuild.yml
vendored
@ -12,6 +12,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
|
||||
with:
|
||||
force-depth: 0
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
@ -33,6 +35,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
|
||||
with:
|
||||
force-depth: 0
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
@ -46,6 +50,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
|
||||
with:
|
||||
force-depth: 0
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
@ -67,6 +73,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
|
||||
with:
|
||||
force-depth: 0
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
@ -13,9 +13,8 @@ printf "\n"
|
||||
if [ -d server/.git ]; then
|
||||
cd server
|
||||
git remote set-branches --add origin $NC_BRANCH
|
||||
git fetch --depth 1
|
||||
git checkout $NC_BRANCH
|
||||
git reset --hard origin/$NC_BRANCH
|
||||
else
|
||||
git clone https://github.com/nextcloud/server server --depth 1 --single-branch --branch $NC_BRANCH
|
||||
git clone https://github.com/nextcloud/server server --single-branch --branch $NC_BRANCH
|
||||
fi;
|
||||
|
||||
3
conf.py
3
conf.py
@ -16,6 +16,7 @@ extensions = [
|
||||
'sphinx_copybutton',
|
||||
'sphinxcontrib.mermaid',
|
||||
'notfound.extension',
|
||||
'sphinx_last_updated_by_git',
|
||||
]
|
||||
|
||||
# General information about the project.
|
||||
@ -41,6 +42,8 @@ html_theme_options = {
|
||||
# relative path to subdirectories
|
||||
html_logo = "../_shared_assets/static/logo-white.png"
|
||||
|
||||
html_last_updated_fmt = '%c'
|
||||
|
||||
# substitutions go here
|
||||
rst_epilog = '.. |version| replace:: %s' % version
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@ smartypants==2.0.2
|
||||
snowballstemmer==3.0.1
|
||||
Sphinx==8.1.3
|
||||
sphinx-copybutton==0.5.2
|
||||
sphinx-last-updated-by-git==0.3.8
|
||||
sphinx-rtd-theme==3.0.2
|
||||
sphinx-rtd-dark-mode==1.3.0
|
||||
sphinxcontrib-applehelp==2.0.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user