]> BookStack Code Mirror - website/commitdiff
Added missing index pages
authorDan Brown <redacted>
Sat, 9 Dec 2017 19:03:04 +0000 (19:03 +0000)
committerDan Brown <redacted>
Sat, 9 Dec 2017 19:03:04 +0000 (19:03 +0000)
22 files changed:
content/docs/admin/backup-restore.md
content/docs/admin/cache-session-config.md
content/docs/admin/commands.md
content/docs/admin/debugging.md
content/docs/admin/installation.md
content/docs/admin/ldap-auth.md
content/docs/admin/multi-instance.md
content/docs/admin/pdf-rendering.md
content/docs/admin/security.md
content/docs/admin/social-auth.md
content/docs/admin/updates.md
content/docs/admin/upload-limits.md
content/docs/admin/utf8mb4-upgrade.md
content/docs/admin/visual-customisation.md
content/docs/user/content-overview.md
content/docs/user/markdown-editor.md
content/docs/user/organising-content.md
content/docs/user/reusing-content.md
content/docs/user/searching.md
content/docs/user/wysiwyg-editor.md
themes/bookstack/layouts/_default/single.html
themes/bookstack/layouts/section/docs.html

index c042600ec07d4a8e735113278ba1f276678c1303..64e2056d41341cf0cd9c900d8531be1c70c49738 100644 (file)
@@ -2,7 +2,7 @@
 title = "Backup and Restore"
 description = "How to back up and restore your BookStack data"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack does not currently have a built-in way to backup and restore but it
index c71022a8f307d2bae12e377a60c7bcaab8edcd59..1a97c045311daee1fdab3fb17cf2bab7c9649c80 100644 (file)
@@ -2,7 +2,7 @@
 title = "Cache & Session Configuration"
 description = "Cache & Session setup with details for redis and memcached"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 By default BookStack will use a file system cache that's storage in the `storage/framework` folder. This is also used to store user session data. Below are some alternative systems that can be used for caching & sessions.
index bdaab7c44be871ee68670ed92c0b465f35243e19..b69e5b61b19fa6c75930768833ccf33b95ff6d9d 100644 (file)
@@ -2,7 +2,7 @@
 title = "Commands"
 description = "BookStack command-line actions"
 date = "2017-02-26"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack has some command line actions that can help with maintenance and common operations. There are also many commands available from the underlying Laravel framework. To list all available commands you can simply run `php artisan` from your BookStack install folder. Custom BookStack commands are all under the 'bookstack' namespace.
index 1663dd3b2f93b77efb411ff78603a67930b49f6c..6a41e4ef74dc2c26163c6d061f61525ff802434c 100644 (file)
@@ -2,7 +2,7 @@
 title = "Debugging Errors"
 description = "How to find the cause of issues in BookStack"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 When using BookStack, Especially when initially setting it up or after updating, you may come across some errors. While we try to reduce these as much as possible and make them helpful sometimes you may come across a bland and non-helpful 'An error has occurred' message. This is to prevent any potentially sensitive information being shown to all users.
index 20567e498185684dcb169cd0a4b6aaf9658d3b44..efe9617f78ba84771091aaa5da9fdaa5ecd08be0 100644 (file)
@@ -2,7 +2,7 @@
 title = "Installation"
 description = "How to install BookStack"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 Below are some different methods of installing BookStack. If you cannot find a guide for your setup search the web for "Laravel install guides" relevant for your system as the process is mostly the same.
index 25d4c663c77e43ab8a64ee06cd2c702338e86646..a1f350b5805c3d1348a25db8852601806934b83f 100644 (file)
@@ -2,7 +2,7 @@
 title = "LDAP Authentication"
 description = "How to use LDAP as your primary way to register and login to BookStack"
 date = "2017-01-21"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack can be configured to allow LDAP based user login. While LDAP login is enabled you cannot log in with the standard user/password login and new user registration is disabled. BookStack will only use the LDAP server for getting user details and for authentication. Data on the LDAP server is not currently editable through BookStack.
index 08684371e4d651637dcf1e68a941c6c38cf1d628..79f1d3025b4ca3f3630e3dadeea7ed5d504dbc5d 100644 (file)
@@ -2,7 +2,7 @@
 title = "Multiple BookStack Instances"
 description = "How to host multiple BookStack instances on Apache and Nginx"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 Currently BookStack does not support multiple instances from one installation but you can set up multiple instances on the same server by creating multiple installations and configuring your web-server appropriately.
index 8757124804c16cb6585d0d7d62a9747f05ba1e7a..c21b08ac3d225bf7cc045d2266ba9374c94b6bc3 100644 (file)
@@ -2,7 +2,7 @@
 title = "PDF Rendering"
 description = "Using WKHTMLtoPDF to generate PDF's for better rendering"
 date = "2017-01-22"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 By default BookStack uses [Dompdf](https://github.com/dompdf/dompdf) to export pages as PDF documents. The benefit of using DomPDF is that it doesn't require any additional installation or setup but the rendering capabilities are somewhat limited.
index 0954bea1c3cf04af42133b873b3c06ea08f76919..05d9cd7699292f321d28a03d94b4fa6604aa5e4e 100644 (file)
@@ -2,7 +2,7 @@
 title = "Security"
 description = "BookStack security concerns and considerations"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 Since BookStack can hold important information for users you should be aware of any potential security concerns.
index eaa89d203e6da7711cba5a19d3f556e0d8e09d58..fda08dac431bb4df32aabfe1657c9c782b7caad7 100644 (file)
@@ -2,7 +2,7 @@
 title = "Social Authentication"
 description = "Enabling and configuring social authentication for easier logins"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack currently supports login via Google, Facebook, Slack, Twitter & GitHub. Once enabled options for these services will show up in the login, registration and user profile pages. By default these services are disabled. To enable them you will have to create an application on the external services to obtain the require application id's and secrets. Here are instructions to do this for the current supported services:
index 6b1d97f751771ab53fa08d1c37f655178c696172..c999c7a550c7b15391c78ec218cbf5428cc7528d 100644 (file)
@@ -2,7 +2,7 @@
 title = "Updating BookStack"
 description = "How to update BookStack to the lastest version"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack is updated regularly and is still in beta although we do try to keep the platform and upgrade path as stable as possible. The latest release can be found on [GitHub here](https://github.com/BookStackApp/BookStack/releases) and detailed information on releases is posted on the [BookStack blog here](https://www.bookstackapp.com/blog/tag/releases/).
index ef080225d63c8e1535922738930eed59a064c99f..086f80e517570456e63387419c23605e1962eb8b 100644 (file)
@@ -2,7 +2,7 @@
 title = "Changing Upload Limits"
 description = "How to increase uploads limits for images and attachments"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 BookStack allows users to upload both images for content and files as attachments. By default, a lot of server software has strict limits on upload sizes which causes errors when users upload new content. This is not configured as part of BookStack but as part of PHP and your web sever software. If you run into problems with upload size limits follow the below details for PHP and whichever web server you use:
index a232707b2a272a8a8ee935e3f8d407b55b42ecaf..158e14514bf2a138c8ae2add84e81cb5271988e9 100644 (file)
@@ -2,7 +2,7 @@
 title = "UTF8mb4/Emoji Support"
 description = "Adding UTF8mb4 support to allow use of emoji in content"
 date = "2017-01-01"
-type = "admin-docs"
+type = "admin-doc"
 slug = "ut8mb4-support"
 +++
 
index 0a876da4e779f0e9e25553dacf3d71bf13c818d2..c3a8fa336bd4b1662b46767bd8effa2d96e6c9bf 100644 (file)
@@ -2,7 +2,7 @@
 title = "Customising BookStack"
 description = "Changing the colors, logo and styles of BookStack to suit your needs"
 date = "2017-08-22"
-type = "admin-docs"
+type = "admin-doc"
 +++
 
 You may find you want to customise BookStack to use custom branding or you may just not like the default blue theme. Customising the branding of BookStack is super simple and can be done through the settings interface under 'App Settings'. Here you can change the application name, logo and primary color.
index 026c69ff23e2526b641c2ab27a6e1c641cf68134..774d65fabc13d9aa751e0edd7ebb616d7395a3ec 100644 (file)
@@ -2,7 +2,7 @@
 title = "Content Overview"
 description = "Overview of BookStack content objects and data types"
 date = "2017-01-01"
-type = "user-docs"
+type = "user-doc"
 +++
 
 The principles of storing information within BookStack is based of the ideas of a normal stack of books. Just like normal books, BookStack books can contain chapters and pages. You start off by creating a book which acts as the highest level of categorisation. Ideally you'd have separate books for separate topics. Within a book you can directly create pages or you can first create chapters. Chapters provide an additional level of page grouping to keep pages organised but are optional. All the information you write is held within pages. Although books and chapters do not hold information they can be given a short description to assist with searching and visibility.
index 941af060e2c1f37e21338268370e6582a5569473..7e9e7d6548c34128eef1c37416d3932be378ff54 100644 (file)
@@ -2,7 +2,7 @@
 title = "Markdown Editor"
 description = "Details on using the markdown editor in BookStack"
 date = "2017-07-28"
-type = "user-docs"
+type = "user-doc"
 +++
 
 If you prefer the write in Markdown the editor in BookStack can be changed at a instance level
index de824f93e6315857f4a9940c2f33805b84026b1e..89bb29b5a9a4924dd233f8d0182fd76dfbbfb2e7 100644 (file)
@@ -2,7 +2,7 @@
 title = "Organising Content"
 description = "How to organise and sort books, chapters and pages in BookStack"
 date = "2017-01-01"
-type = "user-docs"
+type = "user-doc"
 +++
 
 Once your BookStack instance starts to grow you will find that you may want to re-organise your content. Within BookStack there are two options for moving content around; Either you can move pages and chapters individually or you can sort entire books.
index f6aaa8ddd6cf15203961f1bffc97ecf34babfb22..716a019a456cacb271105e63a7322219b9cdd428 100644 (file)
@@ -2,7 +2,7 @@
 title = "Reusing Page Content"
 description = "How to use include tags to reuse pages and page content within other pages"
 date = "2017-01-22"
-type = "user-docs"
+type = "user-doc"
 slug = "reusing-page-content"
 +++
 
index 4d8b5cad89f01b2420fbc03ae2b59277220d2a17..af261ae1da306d1bbb91b0bbefe53b2a09d4edf0 100644 (file)
@@ -2,7 +2,7 @@
 title = "Searching Content"
 description = "Searching for specific content within BookStack and learning the advanced search syntax"
 date = "2017-04-16"
-type = "user-docs"
+type = "user-doc"
 +++
 
 The ability to search your documentation is vital to day-to-day use.
index 6f2e0aabcf48bd64d10dcba3a304302ced72f922..d949d1beb70c0d446e4fc265b11032ffce1cafa6 100644 (file)
@@ -2,7 +2,7 @@
 title = "Default Page Editor"
 description = "Details on the standard Page editor in BookStack"
 date = "2017-07-28"
-type = "user-docs"
+type = "user-doc"
 +++
 
 The default editor in BookStack is a 'What You See Is What You Get' (WYSIWYG) editor.
index 19338425050c79509ce1bbb948999514b7bb2e3d..dbe69d5c6cf00f1aaabff2974e3120d011dcf2a5 100644 (file)
@@ -5,10 +5,10 @@
   <div class="container">
     <div class="row">
       <div class="col-sm-6">
-        {{ if eq .Type "admin-docs" }}
+        {{ if eq .Type "admin-doc" }}
           <h2 class="thin-margin">Admin Documentation</h2>
         {{end}}
-        {{ if eq .Type "user-docs" }}
+        {{ if eq .Type "user-doc" }}
           <h2 class="thin-margin">User Documentation</h2>
         {{end}}
       </div>
 
   <div class="row">
     <div class="col-sm-2 sidebar">
-      {{ if eq .Type "admin-docs" }}
+      {{ if eq .Type "admin-doc" }}
         {{partial "menu_admin_docs"}}
       {{end}}
-      {{ if eq .Type "user-docs" }}
+      {{ if eq .Type "user-doc" }}
         {{partial "menu_user_docs"}}
       {{end}}
     </div>
index d0c07c7255bc65a82f484b75aa025928a72b59ce..17a1d993f67a2759f143576652e7318fa868e522 100644 (file)
@@ -4,7 +4,15 @@
        <div class="container">
                <div class="row">
                        <div class="col-sm-6">
+                               {{if eq .Page.Type "admin-doc"}}
+                               <h2 class="thin-margin">Admin Documentation</h2>
+                               {{else if eq .Page.Type "user-doc"}}
+                               <h2 class="thin-margin">User Documentation</h2>
+                               {{else}}
                                <h2 class="thin-margin">Documentation</h2>
+                               {{end}}
+
+                               
                        </div>
                        <div class="col-sm-6">
                                <div class="float right float-none-sm">
 
 <div class="container">
        <div class="row docs-index">
+
+               {{if ne .Page.Type "user-doc"}}
                <div class="col-sm-6">
                        <div class="shaded padded">
+                               {{if ne .Page.Type "admin-doc"}}
                                <h3>Admin Documentation</h3>
+                               {{end}}
                                {{partial "menu_admin_docs"}}
                        </div>
                </div>
+               {{end}}
+               {{if ne .Page.Type "admin-doc"}}
                <div class="col-sm-6">
                        <div class="shaded padded">
+                               {{if ne .Page.Type "user-doc"}}
                                <h3>User Documentation</h3>
+                               {{end}}
                                {{partial "menu_user_docs"}}    
                        </div>
                </div>
+               {{end}}
        </div>
 </div>
 
+<p><br></p>
+
 {{ partial "footer.html" . }}
\ No newline at end of file