-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Initial MkDocs (material theme) setup for BIT manual
MkDocs setup using the material theme. Thank you to Kosta Vukicevic (@stcksmsh) (#1659) providing a first prototyp. Current content of the manual is not modified but nearly identical to the one generated by Sphinx setup.
- Loading branch information
Showing
79 changed files
with
6,848 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
This directory contains the source files for various types of documentation | ||
for _Back In Time_. | ||
|
||
- `manual`: User Manual | ||
|
||
### How to reduce file size of images | ||
For PNG images `optipng` could be used. *Attention*: By default it overwrites | ||
the original files. The following command use the highest possible optimization | ||
and write the result in a subfolder. | ||
|
||
$ optipng --dir subfolder -o7 *.png | ||
|
||
As an alternative `pngcrush` can be used. The following determine the best | ||
algorithm by its own. | ||
|
||
$ pngcrush -d subfolder -brute *.png | ||
|
||
Applied to a set of _Back In Time_ dark mode screenshots, their file size | ||
was reduced by approximately 13%. Both applications show no significant | ||
differences. The visual result is indistinguishable from the original. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Project information | ||
site_name: Back In Time - User Manual | ||
site_author: BIT Team | ||
|
||
# Source files (markdown) | ||
docs_dir: src | ||
# Output directory | ||
site_dir: html | ||
# site_url: https://backintime-docs.readthedocs.io/en/latest/ | ||
# site_description: Back In Time is a simple backup tool for Linux inspired by "FlyBack". | ||
|
||
# Repository information | ||
repo_name: backintime | ||
# repo_url: https://github.com/bit-team/backintime | ||
|
||
# Entrie labels determined by the the 1st level heading | ||
nav: | ||
- 'index.md' | ||
- 'quick-start.md' | ||
- 'main-window.md' | ||
- 'settings.md' | ||
- 'snapshots-dialog.md' | ||
- 'log.md' | ||
- 'additional.md' | ||
|
||
markdown_extensions: | ||
# Boxex for warnings, etc. | ||
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/ | ||
- admonition | ||
- toc: | ||
permalink: true | ||
|
||
# Configuration | ||
theme: | ||
name: material | ||
logo: _images/logo48.png | ||
favicon: _images/logo48.png | ||
language: en | ||
features: | ||
# Load content of main page only instead of the whole site | ||
- navigation.instant | ||
# Loading in background while hovering over the navigation item | ||
- navigation.instant.prefetch | ||
# Unfold all entries in navigation side bar | ||
- navigation.expand | ||
# Render navigation path on above the title of each page | ||
- navigation.path | ||
# Back-to-top-button | ||
- navigation.top | ||
# Render sub-headings in navigation side bar | ||
- toc.integrate | ||
- toc.follow | ||
# Highlight search results | ||
- search.highlight | ||
# Link current document to GitHub | ||
- content.action.edit | ||
- content.action.view | ||
# Copy and highlight code blocks | ||
- content.code.copy | ||
- content.code.select | ||
# Colorsettings regarding dark/light mode | ||
palette: | ||
- media: "(prefers-color-scheme: light)" | ||
scheme: default | ||
primary: blue grey | ||
accent: blue | ||
toggle: | ||
icon: material/toggle-switch | ||
name: Switch to dark mode | ||
- media: "(prefers-color-scheme: dark)" | ||
scheme: slate | ||
primary: grey | ||
accent: blue | ||
toggle: | ||
icon: material/toggle-switch-off | ||
name: Switch to system preference | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.