07-03-2020
This commit is contained in:
@@ -2,14 +2,27 @@
|
||||
|
||||
For full documentation visit [mkdocs.org](http://mkdocs.org).
|
||||
|
||||
## Commands
|
||||
|
||||
|
||||
## Installation:
|
||||
|
||||
```bash
|
||||
$ pip install mkdocs
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Commandes:
|
||||
|
||||
* `mkdocs new [dir-name]` - Create a new project.
|
||||
* `mkdocs serve` - Start the live-reloading docs server.
|
||||
* `mkdocs build` - Build the documentation site.
|
||||
* `mkdocs help` - Print this help message.
|
||||
* `gh-deploy` - Deploy your documentation to GitHub Pages.
|
||||
|
||||
## Project layout
|
||||
|
||||
|
||||
## Project layout:
|
||||
|
||||
```bash
|
||||
mkdocs.yml # The configuration file.
|
||||
@@ -62,7 +75,7 @@ INFO - Cleaning site directory
|
||||
|
||||
|
||||
|
||||
## Copier les docs sur le serveur
|
||||
## Copier les docs sur le serveur:
|
||||
|
||||
```bash
|
||||
$ cd /Users/bruno/project
|
||||
@@ -128,7 +141,7 @@ scp -P42666 -r ./central_docs bruno@192.168.xxx.xxx:/volume1/web
|
||||
### Installer un thème:
|
||||
|
||||
```bash
|
||||
$ pip install --user mkdocs-cinder
|
||||
$ pip install mkdocs-cinder
|
||||
```
|
||||
|
||||
|
||||
@@ -136,7 +149,7 @@ $ pip install --user mkdocs-cinder
|
||||
### Mettre à jour un thème:
|
||||
|
||||
```bash
|
||||
$ pip install --user --upgrade mkdocs-material
|
||||
$ pip install --upgrade mkdocs-material
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user