This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs
Gerhard Lazu 19d762c5dd
Simplify Europa Docs sidebar
- move Dagger 0.1 references to the top
- move Dagger CUE API under Core Concepts, after What is CUE?
- move Go on Docker Swarm under Use Cases

A few minor title changes:
- Dagger CUE API (0.2+) -> Dagger CUE API
- What is Cue? -> What is CUE?

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-29 00:14:34 +01:00
..
administrator
core-concepts Simplify Europa Docs sidebar 2022-03-29 00:14:34 +01:00
drafts Move connecting socket to client: network 2022-03-28 18:16:07 +00:00
getting-started Update the version in docs to next release 2022-03-28 22:23:51 +01:00
introduction Default docs to Europa 2022-03-09 20:12:50 +00:00
learn Merge pull request #1837 from marcosnils/feat/docs_os_select 2022-03-24 23:10:32 +00:00
reference Remove old docs 2022-02-23 12:20:01 -07:00
tests Merge pull request #1805 from TomChv/doc/add-go-use-case 2022-03-28 23:52:59 +01:00
use-cases Merge pull request #1805 from TomChv/doc/add-go-use-case 2022-03-28 23:52:59 +01:00
1001-install.md
1214-migrate-from-dagger-0.1.md Simplify Europa Docs sidebar 2022-03-29 00:14:34 +01:00
new.sh Add front matter to new docs 2022-03-08 11:32:10 -01:00
README.md
update-version.sh Update the version in docs to next release 2022-03-28 22:23:51 +01:00

FAQ

The intent behind this README is to answer contributor questions regarding docs.dagger.io.

What happens to a new doc page after the PR gets merged?

It gets automatically deployed to docs.dagger.io.

The doc URL will use the slug property from the doc markdown metadata.

Given slug: /1001/install/, the live URL will be docs.dagger.io/1001/install

How can I run docs locally?

You will need to have yarn and Node.js v16 installed.

From the top-level dir - cd ../ - run the following command: make web

This will install all dependencies, start the docs web server locally and open localhost:3000 in your browser.

How can I add a new doc page?

From the docs dir, run ./new.sh doc-title

This will create a new Markdown file for the new doc page, i.e. docs/1214-doc-title.md

This new doc will not be added to the navigation. We prefer to keep the organisation of doc pages, and writing them separate. For the time being - 2022 Q1 - the focus is on writing self-contained doc content. Don't worry about where to fit this content, it's enough to keep this in mind: Writing effective documentation.

What else should I keep in mind as I add new doc pages?