Skip to content

Commit 7ab4c80

Browse files
committed
Merge branch 'v5.5.x'
2 parents d9db7ca + 1467089 commit 7ab4c80

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,22 @@ Files are contained into sections, depending on how Doctum needs to treat them:
336336
.. _MariaDB MySQL Kbs: https://williamdes.github.io/mariadb-mysql-kbs/
337337
.. _Laravel: https://laravel.com/api/master/index.html
338338

339+
Theme configuration
340+
~~~~~~~~~~~~~~~~~~~
341+
342+
.. code-block:: php
343+
344+
<?php
345+
346+
return new Doctum($iterator, [
347+
// [...]
348+
'theme' => 'my-theme-name',
349+
// Add the path to the theme/themes
350+
'template_dirs' => [__DIR__ . '/themes/my-theme-name'],
351+
// [...]
352+
]
353+
);
354+
339355
Search Index
340356
~~~~~~~~~~~~
341357

scripts/update-release.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,16 @@ doChangesForRelease() {
9090

9191
doChangesForRelease "./build"
9292

93+
echo 'Updating the version named folder'
9394
if [ ${IS_LTS_MODE} = "0" ]; then
94-
echo 'Updating the version named folder'
9595
updateLatestFolders "./releases/${VERSION}"
9696
else
97-
echo 'LTS mode, skipping update of version ENVs'
97+
echo 'LTS mode !'
98+
read -r -p "Make it the latest version ? [Y/n]" response
99+
response=${response,,} # tolower
100+
if [[ $response =~ ^(yes|y| ) ]] || [[ -z $response ]]; then
101+
updateLatestFolders "./releases/${VERSION}"
102+
fi
98103
fi
99104

100105
rm -rf build/*

0 commit comments

Comments
 (0)