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
To serve the documentation locally, run the following command:
13
+
14
+
```shell
10
15
hugo server -D
11
16
```
12
17
13
18
This will serve the docs on [http://localhost:1313](http://localhost:1313).
14
19
15
-
Deploy to Github Pages
16
-
----------------------
17
-
18
-
Changes to the `main` branch will be deployed automatically with Github actions.
19
-
20
-
Update Geekdocs
21
-
---------------
20
+
## Update Geekdocs
22
21
23
22
The docs use the [Geekdocs](https://geekdocs.de/) theme. The theme is checked in to Github in the `./docs/themes/hugo-geekdoc/` folder. To update [Geekdocs](https://geekdocs.de/), remove the current folder and create a new one with the latest [release](https://github.com/thegeeklab/hugo-geekdoc/releases). There are no local modifications in `./docs/themes/hugo-geekdoc/`.
24
23
25
-
Notes
26
-
-----
27
-
28
-
Here's how the initial `docs/` folder was set up:
29
-
30
-
```
31
-
hugo new site docs
32
-
cd docs/
24
+
```shell
25
+
rm -rf ./docs/themes/hugo-geekdoc
33
26
mkdir -p themes/hugo-geekdoc/
34
-
curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/download/v0.41.1/hugo-geekdoc.tar.gz | tar -xz -C themes/hugo-geekdoc/ --strip-components=1
27
+
curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C themes/hugo-geekdoc/ --strip-components=1
35
28
```
36
29
37
-
Create the initial `hugo.toml` file as described in [https://geekdocs.de/usage/getting-started/](https://geekdocs.de/usage/getting-started/).
30
+
## Deploy to Github Pages
31
+
32
+
Changes to the `master` branch will be deployed automatically with Github actions.
0 commit comments