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/website
Gerhard Lazu 78d5d49f2c
Add the must-have pages for the Europa release
The goal is to capture the shape of the new docs. It is not meant to be
final, but it should be as close as possible. We only want the bare
minimum for new users that on-board with Dagger Europa. As soon as the
new europaSidebar replaces replaces the existing one, the previous docs
will still remain available - doc IDs are unique and permanent. We will
do this by simply changing the default `slug: /` to point to the Europa
Docs entrypoint, which is doc 1200.

Helpful Docusaurus link re multiple sidebars:
https://docusaurus.io/docs/sidebar/multiple-sidebars

The new pages are numbered from `1200` onwards. This is meant to reflect
the `0.2.0` Dagger version. This numbering felt more meaningful than
just continuing to increment existing numbers.

I didn't want to be "wasteful" with the digits and start at `2000`, but
that was my first instinct.

I am keen on getting this live on https://docs.dagger.io/1200/local-ci.
Anything that is not in production, is inventory. Inventory is bad.

The goal is to allow anyone that has a link to get a feel for the new
docs as soon as possible, so that we can all see how they improve in
real-time, and steer them continuously towards the desired state. We
should be aware of the timeline, and not muck about, but instead
evaluate constantly how close are we to "flipping the switch".

Remember, the best releases are those where switches are flipped (e.g.
`--europa)`. The feature will have been out there for weeks (maybe even
months), improved by talking to users and then one day realising that we
are done, and just enabling it by default. It's the same principle
behind these docs.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 09:47:07 +00:00
..
cypress docs: 🐛 increate cypress get timeout to avoid github action errors 2022-01-19 10:42:12 +01:00
plugins/docusaurus-plugin-hotjar docs: collect feedback form 2021-08-06 15:29:23 +02:00
src Bump up docusaurus theme + downgrade mdx-js/react causing issue with docusaurus config 2022-02-07 11:47:35 +01:00
static Improve doc's main image loading time 2022-01-12 01:01:51 +01:00
.gitignore docs: remove .env 2021-06-14 14:15:12 +02:00
.prettierrc docs: 🐛 fix css for mobile devices 2021-08-25 09:38:34 +02:00
babel.config.js docs: rename tools/daggosaurus to website 2021-06-04 13:49:20 -07:00
cypress.json docs: init cypress test e2e 2021-08-10 15:39:13 +02:00
docsearch.config.json update docusaurus to v2.0.0-beta.5 2021-09-07 14:39:57 +02:00
docusaurus.config.js docs: 🐛 fix editurl path 2022-01-13 16:00:35 +01:00
netlify.toml docs: filter out netlify deployments 2021-12-17 14:58:40 -08:00
package.json Bump up docusaurus theme + downgrade mdx-js/react causing issue with docusaurus config 2022-02-07 11:47:35 +01:00
README.md docs: rename tools/daggosaurus to website 2021-06-04 13:49:20 -07:00
sidebars.js Add the must-have pages for the Europa release 2022-02-10 09:47:07 +00:00
yarn.lock Bump up docusaurus theme + downgrade mdx-js/react causing issue with docusaurus config 2022-02-07 11:47:35 +01:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.