feat: generate doc pages from markup

This commit is contained in:
Ax333l
2022-10-25 10:17:29 +02:00
parent 0503e81fb0
commit 214ce4934d
22 changed files with 911 additions and 176 deletions

View File

@@ -0,0 +1,10 @@
= AsciiDoc Example
= Another title
*Bold text*
== Section 1
* Item 1
* Item 2

View File

@@ -0,0 +1,4 @@
# Another Page
# Hello
Content!

View File

@@ -0,0 +1,4 @@
# Nesting sample
# First one
Text

View File

@@ -0,0 +1,4 @@
# Nesting sample
# Third one
Text

View File

@@ -0,0 +1,4 @@
# Nesting sample
# Second one
Text

16
testing-docs/index.md Normal file
View File

@@ -0,0 +1,16 @@
# Prerequisites
##### docs/prerequisites
<br />
#### Requirements
- ADB
- x86/x86\_64 host architecture
- Zulu JDK 17
- Latest Android SDK if you plan to build the integrations from the source
- The APK file you want to patch (e.g. YouTube v17.36.37 or YouTube Music v5.23.50). If you want to mount patched applications as root, make sure the same version is installed on your device.
<br />
You can continue by either [building everything from source](https://github.com/revanced/revanced-documentation/wiki/Building-from-source) or [downloading the prebuilt packages](https://github.com/revanced/revanced-documentation/wiki/Downloading-prebuilt-packages).

View File

@@ -0,0 +1,4 @@
# Markdown Example
Text
**Bold text**

View File

@@ -0,0 +1,9 @@
# Writing documentation
You can write documentation with markdown or asciidoc.
## Title
The first line must be the `h1` equivalent of the markup language.
For markdown, this would be `# <title>` and `= <title>` for asciidoc.
**The title part may or may not go through the markup processor depending on the language.** It is instead added by the website itself.