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
- Visit https://xapi-project.github.io/new-docs/ to view the current documentation.
3
4
- Install Hugo; follow the guidance on https://gohugo.io/getting-started/installing.
4
5
You'll need Go as well: see https://go.dev/
6
+
- On Ubuntu 22.04 and older, use `sudo snap install hugo` to get the needed newer version of `hugo`.
5
7
- Run a local server: `hugo server`
6
-
- Open a browser at http://127.0.0.1:1313/
7
-
- Add some content.
8
+
- Open a browser at http://127.0.0.1:1313/new-docs/
9
+
- Add content to `doc/content/`:
8
10
- Documents are written in Markdown.
9
11
- Please wrap lines in paragraphs to make review and diffs easier to read.
10
12
- The menu hierarchy comes mostly from the directory structure in `content/`.
11
-
- A file called `_index.md` is needed in a directory to define a new level in the menu. Add a title to the frontmatter.
13
+
- A file called `_index.md` is needed in a directory to define a new level in the menu.
14
+
- To set the page title which is also used for the main menu,
15
+
[use the front matter](https://gohugo.io/content-management/front-matter/).
12
16
- For a page that has images or other stuff included, it is best to create a new directory. Put the contents in a `index.md` file (no `_`) and the related files next to it. See https://gohugo.io/content-management/organization/ for more information.
13
17
- Look at https://mcshelby.github.io/hugo-theme-relearn/ for more information about what the Relearn theme offers, including some handy "shortcodes".
0 commit comments