You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoNode uses MarkDown, with [Python Markdown](https://python-markdown.github.io/) support and [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) extensions.
6
+
7
+
### Setup
8
+
```bash
9
+
python -m venv .venv
10
+
. .venv/bin/activate
11
+
pip install -r requirements.txt
12
+
```
13
+
14
+
### Develop
15
+
```bash
16
+
mkdocs serve --livereload
17
+
```
18
+
19
+
### Build
20
+
```bash
21
+
export ENABLE_PDF_EXPORT=1
22
+
mkdocs build
23
+
```
24
+
25
+
## Editing tips
26
+
27
+
-**Images**:
28
+
- Can be embedded with ``, where the path is relative to the .md page
29
+
- Can flow on the side of the text by appending the align attriute, for example ` { align=left }`
30
+
- Captions (if needed) can be added with a `\\\ caption \\\` block right below the image. E.g.
31
+
```
32
+

33
+
/// caption
34
+
Image caption
35
+
///
36
+
```
37
+
- **Links**: Beyond the standard Markdown links, we haveAnchors to headings and other pages is available:
38
+
- Anchors can be created by placing this `()[]{ #my-anchor }` anywhere, and can be linked from anywhere with `[My anchor][my-anchor]`
39
+
- Links to other pages can be done by referencing the page name (and optionally the heading) `[project license](about.md#license)`
40
+
- **[Admonition blocks](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#usage)** can be created with:
41
+
```
42
+
!!! Warning
43
+
The warning text
44
+
```
45
+
- **Inline emojis** are supported and their code can be searched with [this tool](https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#search).
46
+
- Support for **[content tabs](https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#content-tabs)** is enabled, in case they're useful.
47
+
48
+
## Reference documentation
49
+
50
+
- [MkDocs](https://www.mkdocs.org/)
51
+
- [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/reference/)
0 commit comments