1
0
mirror of https://github.com/foobnix/LibreraReader.git synced 2025-10-06 00:02:43 +02:00

add sample wiki

This commit is contained in:
foobnix
2018-05-29 17:21:15 +03:00
parent 1da0f6b121
commit 8b2bc78f51
17 changed files with 414 additions and 64 deletions

4
docs/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/.settings
/bin
/gen
/_site

View File

@@ -1,37 +0,0 @@
## Welcome to GitHub Pages
You can use the [editor on GitHub](https://github.com/foobnix/librera.github.io/edit/master/README.md) to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files.
### Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
```markdown
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
```
For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/).
### Jekyll Themes
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/foobnix/librera.github.io/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file.
### Support or Contact
Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and well help you sort it out.

View File

@@ -1 +1,2 @@
theme: minimal-mistakes-jekyll
markdown: kramdown
relative_permalinks: false

127
docs/_layouts/main.html Normal file
View File

@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>Librera Reader Wiki</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link rel="stylesheet" href="/css/styles.css">
<link href="index.xml" rel="alternate" type="application/rss+xml" title="Librera Reader" />
</head>
<body>
<div class="sidebar sidebar-default">
<div class="navigation">
<div>
Book and PDF Reader for Android
</div>
<h1 class="site-title"><a href="/">Librera Reader Wiki</a></h1>
<nav class="internal">
<ul>
<li>
<a href="/doc/tags-support">Tag support</a>
<ul>
<li><a href="/doc/custom-tags">Custom tags</a></li>
</ul>
</li>
<li>
<a href="#summary">Plot summary</a>
</li>
<li>
<a href="#characters">Characters</a>
<ul>
<li><a href="#bora">Bora</a></li>
<li><a href="#balveda">Balveda</a></li>
<li><a href="#kraiklyn">Kraiklyn</a></li>
</ul>
</li>
<li>
<a href="#history">History</a>
</li>
<li>
<a href="#criticism">Criticism</a>
</li>
</ul>
</nav>
<nav class="external">
<div class="external-title">Download</div>
<ul id="shortcuts">
<li>
<a href="https://github.com/foobnix/LibreraReader" target="_blank" rel="noopener">Github</a>
</li>
<li>
<a href="https://play.google.com/store/apps/details?id=com.foobnix.pdf.reader" target="_blank" rel="noopener">Google Play</a>
</li>
</ul>
</nav>
</div>
<div class="version">
<a href="mailto:librera.reader@gmail.com">librera.reader@gmail.com</a>
</div>
</div>
<div class="content">
<section class="page">
{{content}}
</section>
</div>
</body>
</html>

View File

@@ -1,26 +0,0 @@
---
layout: article
categories: [blog, en]
lang: en
title: Attention! We have a new PPA repository from Foobnix 2.6.06
---
Attention! We have a new PPA repository from Foobnix 2.6.06
sudo add-apt-repository ppa:foobnix-team/foobnix-player
sudo apt-get update
sudo apt-get install foobnix
https://launchpad.net/~foobnix-team/+archive/foobnix-player/+packages
2.6.06
* Add proxy support for all services
* Remember authorization for vkontakte
* Autoreconnect to vkontakte and lastfm after sleep mode, disconnect and ip changes
* The ability to set the number of search results
* Add possibility to set multikeys combinations for hotkey
* Pause on space key press
* Save playlists and library on fly in cache file (not only on exit)
* Creating cache backup file
* Add "Plus" buttons for add tab
* Fixed several small bugs

220
docs/css/styles.css Normal file
View File

@@ -0,0 +1,220 @@
html, body {
font-family: "Open Sans", sans-serif;
color: #363636;
height: 100%;
}
@media (min-width: 48em) {
html {
font-size: 16px;
}
}
@media (min-width: 58em) {
html {
font-size: 20px;
}
}
@media (min-width: 48em) {
.content {
margin-left: 21rem;
margin-right: 2rem;
}
}
@media (min-width: 64em) {
.content {
margin-left: 22rem;
margin-right: 3rem;
}
}
/* Sidebar */
.sidebar {
overflow: auto;
text-align: center;
padding: 1rem 1rem;
color: white;
background-color: #363636;
display: flex;
flex-direction: column;
}
.sidebar.sidebar-default {
background-color: #363636;
}
.sidebar.sidebar-green {
background-color: #459D61;
}
.sidebar.sidebar-purple {
background-color: #77518A;
}
.sidebar.sidebar-pink {
background-color: #AD6AA9;
}
.sidebar.sidebar-red {
background-color: #B05353;
}
.sidebar.sidebar-cyan {
background-color: #5399B0;
}
.sidebar.sidebar-blue {
background-color: #5378B0;
}
.sidebar.sidebar-grey {
background-color: #959492;
}
.sidebar.sidebar-orange {
background-color: #DAA35C;
}
@media (min-width: 48em) {
.sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 19rem;
text-align: left;
}
}
.site-title {
margin-top: 0px;
}
.sidebar a,
.sidebar a:hover,
.sidebar a:visited {
text-decoration: none;
color: white;
}
.sidebar a:hover {
color: rgb(223, 223, 223);;
}
.sidebar ul {
margin: 0px;
padding: 0px;
}
.sidebar ul li {
list-style: none;
padding-left: 2em;
}
nav {
margin: 1em 0 1em 0;
}
.sidebar .navigation {
flex: 1 0 auto;
}
.sidebar .version {
font-size: 80%;
text-align: right;
padding: 2px;
}
.sidebar .external-title {
margin-top: 2em;
text-align: center;
font-size: 120%;
}
.sidebar nav.external {
font-size: 80%;
}
/* Blocks */
.block {
margin: 1em 0em 1em 0em;
padding: 0 5px 5px 5px;
border-top: 34px solid;
position: relative;
overflow-wrap: break-word;
}
.block:before {
position: absolute;
top: -32px;
left: 10px;
color: white;
}
.block.tip {
background: #e8f7e6;
border-top-color: #84c578;
}
.block.block.tip:before {
content: "Tip";
}
.block.note {
background: #e6f3fb;
border-top-color: #6bb1e0;
}
.block.block.note:before {
content: "Note";
}
.block.info {
background: #fefaf5;
border-top-color: #f1b37e;
}
.block.block.info:before {
content: "Info";
}
.block.warn {
background: #fbeded;
border-top-color: #d58181;
}
.block.block.warn:before {
content: "Warning";
}
/* Section of the page */
section.page {
margin-bottom: 3em;
}
section.page h1 {
border-left: 3px solid #363636;
padding-left: 0.5em;
margin-bottom: 0;
}
section.page .content {
margin-left: 0.5em;
}
section.page h1 a,
section.page h1 a:hover,
section.page h1 a:visited {
text-decoration: none;
color: #363636;
}
section.page a,
section.page a:hover,
section.page a:visited {
color: #363636;
}
section div pre {
overflow: auto;
}
section code {
background-color: #fafafa;
}
section img {
max-width: 100%;
}

BIN
docs/doc/custom-tags/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 KiB

BIN
docs/doc/custom-tags/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

BIN
docs/doc/custom-tags/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

BIN
docs/doc/custom-tags/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

BIN
docs/doc/custom-tags/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
docs/doc/custom-tags/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

BIN
docs/doc/custom-tags/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

BIN
docs/doc/custom-tags/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

View File

@@ -0,0 +1,25 @@
---
layout: main
---
#Customs Tags supoprt
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
>Phlebas was an old one too; it was written just after The Wasp Factory, in 1984. I've found that rewriting an old book took much more effort than writing one from scratch, but I had to go back to do right by these things. Now I can go on and start completely new stuff.
|Click menu|My tags|Create tag|
|-|-|-|
![](1.png)|![](2.png)|![](3.png)|
|Assign tag|Favorite tags list|Filter by tag|
|-|-|-|
![](4.png)|![](5.png)|![](6.png)|
|All tags in recent menu|Books list with tags|
|-|-|
![](7.png)|![](8.png)

30
docs/doc/tags-support.md Normal file
View File

@@ -0,0 +1,30 @@
---
layout: main
---
#Tags supoprt
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
>Phlebas was an old one too; it was written just after The Wasp Factory, in 1984. I've found that rewriting an old book took much more effort than writing one from scratch, but I had to go back to do right by these things. Now I can go on and start completely new stuff.
**Bora Horza Gobuchul** is a [Changer](https://en.wikipedia.org/wiki/List_of_civilisations_in_the_Culture_series) and an operative of the Idiran Empire. Horza was one of a party of Changers allowed on Schar's World, and for that reason is tasked by the Idirans with retrieving a Mind that had crashed to the planet. Horza is humanoid, but committed to the Idirans because he despises the Culture for its dependence on machines and what he perceives to be spiritual emptiness.
Why do we use it?
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
<div class="block note">
Consider Phlebas is Banks&rsquo;s first published science fiction novel set in the Culture, and takes its title from a line in T. S. Eliot&rsquo;s poem The Waste Land. A subsequent Culture novel, Look to Windward (2000), whose title comes from the previous line of the same poem, can be considered a loose follow-up.
</div>
<pre>
import os
import sys
from datetime import datetime
from subprocess import call
from time import sleep
</pre>

6
docs/index.md Normal file
View File

@@ -0,0 +1,6 @@
---
layout: main
---
#Demo wiki site
Test Librera wiki pages