-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
60 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,56 @@ | ||
install: | ||
1. read https://www.mkdocs.org/user-guide/installation/ | ||
2. `pip install mkdocs-material` | ||
## Installation | ||
|
||
test: `mkdocs serve` | ||
### 1. Install Python 3.8 | ||
|
||
build: ```mkdocs gh-deploy --force``` | ||
Make sure you have Python version 3.8 or higher installed. You can download it from the [official Python website](https://www.python.org/downloads/). | ||
|
||
### 2. Install MkDocs and Material Theme | ||
|
||
Open the Command Prompt and execute the following commands: | ||
|
||
```sh | ||
pip install mkdocs | ||
pip install mkdocs-material | ||
``` | ||
|
||
## Usage | ||
|
||
### Launching the Local Server | ||
|
||
For a preview, run: | ||
|
||
```sh | ||
mkdocs serve | ||
``` | ||
|
||
Open a web browser and go to [http://127.0.0.1:8000/](http://127.0.0.1:8000/) to view the results. | ||
|
||
### Documentation Structure | ||
|
||
All documentation is organized within the `docs` folder. Inside this folder, you'll find subfolders with names corresponding to different languages (e.g., `ru`, `en`, etc.). The root `docs` folder also contains the `mkdocs.yml` file, where the main documentation settings are specified. | ||
|
||
For more detailed settings, refer to the [official MkDocs website](https://www.mkdocs.org/). However, for basic documentation editing, you only need the `nav` section. In this section, you define the documentation structure. In other words, if you want to create a new documentation page, create a file in the format `docs/<language>/<subsection>/my_file.md`. | ||
|
||
![](imgs/img_1.jpg) | ||
|
||
Then, in the `nav` section of the `mkdocs.yml` file, specify the path to the new page relative to the `docs` folder, following the required structure. | ||
|
||
![](imgs/img_2.jpg) | ||
|
||
Additionally, you can create an `index.md` file inside a subfolder to automatically generate a page for that subsection. This simplifies navigation through the documentation and makes it more structured. | ||
![](imgs/img_3.jpg) | ||
![](imgs/img_4.jpg) | ||
|
||
### Markdown Styling Guide | ||
|
||
If you are interested in how to format text in Markdown using various styles such as bold, italics, headers, etc., I recommend reading the detailed styling guide. You can find it [here](https://abl3t0nnile.github.io/docs/library/markdown/syntax_guide/). | ||
|
||
This guide provides detailed instructions on applying various styles in Markdown, making your text more readable and structured. From using bold and italics to creating headers and lists, you'll find everything you need for effective formatting of your documents. Follow the link to gain a deeper understanding of Markdown syntax and style application. | ||
|
||
## Deployment on GitHub Pages | ||
|
||
To deploy the documentation on GitHub Pages, run: | ||
|
||
```sh | ||
mkdocs gh-deploy --force | ||
``` |
Empty file.
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 |
---|---|---|
@@ -1 +1 @@ | ||
## Hello World | ||
![pic](../override_assets/pic.jpeg) |
Empty file.
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 |
---|---|---|
@@ -1 +1 @@ | ||
Привет мир! | ||
LDYOM - это модификация |
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.
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