|
| 1 | +# hugo server --minify --themesDir ... --baseURL=http://0.0.0.0:1313/theme/hugo-book/ |
| 2 | + |
| 3 | +baseURL = 'https://raujonas.github.io/executor/' |
| 4 | +title = 'Executor Documentation' |
| 5 | +theme = 'hugo-book' |
| 6 | + |
| 7 | +# hugo server --minify --theme hugo-book |
| 8 | +# hugo --minify --theme hugo-book |
| 9 | +publishDir = "../target" |
| 10 | +# git submodule update --remote --merge |
| 11 | +# git commit -m '' |
| 12 | +# git push |
| 13 | + |
| 14 | +# Book configuration |
| 15 | +disablePathToLower = true |
| 16 | + |
| 17 | +# Needed for mermaid/katex shortcodes |
| 18 | +[markup] |
| 19 | +[markup.goldmark.renderer] |
| 20 | + unsafe = true |
| 21 | + |
| 22 | +[markup.tableOfContents] |
| 23 | + startLevel = 1 |
| 24 | + |
| 25 | +# Multi-lingual mode config |
| 26 | +# There are different options to translate files |
| 27 | +# See https://gohugo.io/content-management/multilingual/#translation-by-filename |
| 28 | +# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory |
| 29 | +[languages] |
| 30 | +[languages.en] |
| 31 | + languageName = 'English' |
| 32 | + contentDir = 'content' |
| 33 | + weight = 1 |
| 34 | + |
| 35 | +[menu] |
| 36 | +# [[menu.before]] |
| 37 | +[[menu.after]] |
| 38 | + name = "Github" |
| 39 | + url = "https://github.com/raujonas/executor" |
| 40 | + weight = 10 |
| 41 | + |
| 42 | +[params] |
| 43 | + # (Optional, default light) Sets color theme: light, dark or auto. |
| 44 | + # Theme 'auto' switches between dark and light modes based on browser/os preferences |
| 45 | + BookTheme = 'light' |
| 46 | + |
| 47 | + # (Optional, default true) Controls table of contents visibility on right side of pages. |
| 48 | + # Start and end levels can be controlled with markup.tableOfContents setting. |
| 49 | + # You can also specify this parameter per page in front matter. |
| 50 | + BookToC = false |
| 51 | + |
| 52 | + # (Optional, default none) Set the path to a logo for the book. If the logo is |
| 53 | + # /static/logo.png then the path would be logo.png |
| 54 | + BookLogo = 'icons/icon.png' |
| 55 | + |
| 56 | + # (Optional, default docs) Specify root page to render child pages as menu. |
| 57 | + # Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/ |
| 58 | + # For backward compatibility you can set '*' to render all sections to menu. Acts same as '/' |
| 59 | + BookSection = 'docs' |
| 60 | + |
| 61 | + # Set source repository location. |
| 62 | + # Used for 'Last Modified' and 'Edit this page' links. |
| 63 | + #BookRepo = 'https://github.com/raujonas/executor' |
| 64 | + |
| 65 | + # (Optional, default 'commit') Specifies commit portion of the link to the page's last modified |
| 66 | + # commit hash for 'doc' page type. |
| 67 | + # Requires 'BookRepo' param. |
| 68 | + # Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash> |
| 69 | + # Github uses 'commit', Bitbucket uses 'commits' |
| 70 | + # BookCommitPath = 'commit' |
| 71 | + |
| 72 | + # Enable "Edit this page" links for 'doc' page type. |
| 73 | + # Disabled by default. Uncomment to enable. Requires 'BookRepo' param. |
| 74 | + # Edit path must point to root directory of repo. |
| 75 | + # BookEditPath = 'edit/main/exampleSite' |
| 76 | + |
| 77 | + # Configure the date format used on the pages |
| 78 | + # - In git information |
| 79 | + # - In blog posts |
| 80 | + BookDateFormat = 'January 2, 2006' |
| 81 | + |
| 82 | + # (Optional, default true) Enables search function with flexsearch, |
| 83 | + # Index is built on fly, therefore it might slowdown your website. |
| 84 | + # Configuration for indexing can be adjusted in i18n folder per language. |
| 85 | + BookSearch = true |
| 86 | + |
| 87 | + # (Optional, default true) Enables comments template on pages |
| 88 | + # By default partals/docs/comments.html includes Disqus template |
| 89 | + # See https://gohugo.io/content-management/comments/#configure-disqus |
| 90 | + # Can be overwritten by same param in page frontmatter |
| 91 | + # BookComments = true |
| 92 | + |
| 93 | + # /!\ This is an experimental feature, might be removed or changed at any time |
| 94 | + # (Optional, experimental, default false) Enables portable links and link checks in markdown pages. |
| 95 | + # Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode |
| 96 | + # Theme will print warning if page referenced in markdown does not exists. |
| 97 | + BookPortableLinks = true |
| 98 | + |
| 99 | + # /!\ This is an experimental feature, might be removed or changed at any time |
| 100 | + # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. |
| 101 | + BookServiceWorker = true |
| 102 | + |
| 103 | + # /!\ This is an experimental feature, might be removed or changed at any time |
| 104 | + # (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present. |
| 105 | + BookTranslatedOnly = false |
0 commit comments