# Read the Dokus - DokuWiki Template This is a DokuWiki theme that imitates "Read the Docs".  ## Featuring - “Read the Docs” appearance - Embedded foldable TOC in the sidebar - Auto generated “Previous”, “Next” buttons to follow the pages on the sidebar ## Installtion Use DokuWiki's Extention Manager to install the template. If you want to install manually, you can download from [here.](https://github.com/my17560/dokuwiki-template-readthedokus/archive/refs/heads/main.zip) ## Settings ### Template Settings ### These are template settings for this theme. |Option|Description| -------|------------ |Sidebar position|Choose “left” for the left sidebar, “right” for the right sidebar.| |Use DokuWiki breadcrums|Check to use DokuWiki style breadcrumbs.| |Show toolbox even when logged out|Check to show the Toolbox always. By default, it is not shown unless you log in.| |Start Page|Set start page URL. This page is shown when the “previous” button is pressed on the first page.| |Enable Font Awesome|Check if you want to use Font Awesome. Don't forget to put the necessary tags in the option below. Technically, this option only puts the tags specified in the head tag.| |Specify a tag to include Font Awesome|Specify tags to include FontAwesome.The tags specified here are put in the head tag.| |Enable Google Fonts|Check if you want to use Google Fonts. Don't forget to put the necessary tags in the option below. Technically, this option only puts the tags specified in the head tag.| |Specify tags to include Google Fonts|Specify tags to include Google Fonts. The tags specified here are put in the head tag.| ### Template Variables ### These are some of the options on "Template Style Settings". Other options are available to change various colors used in this template. |Option|Description| -------|------------ |Site width|Width of the whole content including the sidebar. By setting this value, the contents will be centered.| |Content width|Content width. This is a maximum width so the actual size could be less than this value.| |Side bar width|Sidebar width.| |Header height|Header height. The theme puts padding on the top of the page according to this value.| |Footer height|Footer height. The theme puts padding on the bottom of the page according to this value.| |CSS breakpoint for smart phones|Screen size less than this value will be treated as a smartphone.| |CSS breakpoint for tablets|Screen size less than this value will be treated as a tablet. | ## Notes ### Sidebar Format ### Use strong for captions, and lists for items. Anything other than that won't be styled, so use your own styles for them. E.g. ``` ** Caption1 ** * [[page1]] * [[page2]] ** Caption2 ** * page3 * page4 ``` Some index plugins are supported by this template and can be used in the sidebar. - AcMenu Plugin - IndexMenu Plugin - nspages Plugin - simplenavi Plugin ### Previous/Next Buttons ### Previous/Next buttons follow links to DokuWiki on the sidebar, picked up by using querySelector(".aside > #sidebar a[data-wiki-id]"). The previous button on the first page will jump to root(/) by default. You can change this in "Start Page" option in the settings. ### Link to Login Page ### This theme doesn't have any links to the login page by default. Go directly to the login page by appending “&do=login” to the current URL. Or, check the “Show toolbox even when logged out” option in the settings to show the Toolbox always which has the link to the login page. ### Admonitions ### This theme has "Read The Docs" style admonitions. To use them, wrap a content with a div that has a class "admonition" and a type. E.g. ```
Note!