Commit Graph

257 Commits

Author SHA1 Message Date
jffarge
df6dfa12ad website: remove navbar schedule link
Signed-off-by: jffarge <jf@dagger.io>
2022-04-01 16:19:37 +02:00
jffarge
f437d8a7d1 website: update favicon
Signed-off-by: jffarge <jf@dagger.io>
2022-04-01 12:00:04 +02:00
dependabot[bot]
7263f326ba
build(deps): bump sass from 1.49.9 to 1.49.10 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.9 to 1.49.10.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.49.9...1.49.10)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 19:30:42 +00:00
Vasek - Tom C
3bce5cbb2f
Merge pull request #1973 from slumbering/docs-1211-semantic
[Docs] - Use cases Docker Swarm HTML semantics
2022-03-31 20:09:14 +02:00
jffarge
9189b5cb20 use h2 title instead of h3 + fix code css
Signed-off-by: jffarge <jf@dagger.io>
2022-03-31 19:55:03 +02:00
Marcos Nils
265cf9c526
Merge pull request #1969 from slumbering/issue#1935-horizontal-scrollbar-docs
reduce main wrapper padding + sidebar width to avoid horizontal scrolling
2022-03-31 13:08:29 -03:00
jffarge
e6754ad626 reduce main wrapper padding and sidebar width to avoid horizontal scrolling
Signed-off-by: jffarge <jf@dagger.io>
2022-03-31 17:43:44 +02:00
jffarge
095d4a327b Display getting started as the index page
Signed-off-by: jffarge <jf@dagger.io>
2022-03-31 15:53:25 +02:00
Andrea Luzzardi
aa73b12cfc
Merge pull request #1864 from dagger/dependabot/npm_and_yarn/website/docusaurus/core-2.0.0-beta.18
build(deps): bump @docusaurus/core from 2.0.0-beta.17 to 2.0.0-beta.18 in /website
2022-03-30 15:48:07 -07:00
Andrea Luzzardi
529d88c7db
Merge pull request #1927 from dagger/dependabot/npm_and_yarn/website/cypress-9.5.3
build(deps-dev): bump cypress from 9.5.2 to 9.5.3 in /website
2022-03-30 15:44:13 -07:00
guillaume
f6bd78a3ca Go on Docker Swarm
Updates the `Go on Docker Swarm` use case to europa config. Diagrams are also included for better UX

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-03-30 18:23:42 +02:00
jffarge
8c9621e137 fix: 🩹 website: use docusaurus context
Signed-off-by: jffarge <jf@dagger.io>
2022-03-30 16:48:24 +02:00
jffarge
fca6968bff fix: 🩹 create a dev script with REACT_APP_AMPLITUDE_ID empty
Signed-off-by: jffarge <jf@dagger.io>
2022-03-30 15:59:53 +02:00
jffarge
f5ceefa2eb website: add environment var to avoid crash issue
signed-off-by: jffarge <jf@dagger.io>
2022-03-30 15:34:10 +02:00
Gerhard Lazu
3ddf6c995c
Merge pull request #1934 from gerhard/move-dagger-0.1-link-back-to-the-bottom
Move Dagger 0.1 link back to the bottom
2022-03-30 01:05:49 +01:00
Gerhard Lazu
84744d3435
Move Dagger 0.1 link back to the bottom
As mentioned in https://github.com/dagger/dagger/pull/1904#issuecomment-1081292442

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-30 00:49:48 +01:00
Gerhard Lazu
994ee22a6e
Fix Go on DockerHub id & filename + remove from sidebar
ID 1216 was clashing with docker-cli-load doc.

The filename follows the convention of the other use cases.

Remove from docs sidebar until we do the quick fixes.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-30 00:45:09 +01:00
Sam Alba
9f196ca14f
Merge pull request #1929 from samalba/docs-cli-telemetry
docs: added a page about CLI telemetry
2022-03-29 16:22:17 -07:00
Sam Alba
a27b7b265d docs: added page to sidebar
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-29 14:24:54 -07:00
dependabot[bot]
d9799c874a
build(deps-dev): bump cypress from 9.5.2 to 9.5.3 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.2 to 9.5.3.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.5.2...v9.5.3)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 19:17:36 +00:00
Andrea Luzzardi
ec95602060 ci: enable website tests on PRs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-29 11:22:15 -07:00
Andrea Luzzardi
38e278b40e website: remove outdated cypress tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-29 11:08:27 -07:00
jffarge
8a67e88708 init amplitude with appropriate ID
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 13:55:09 +02:00
Jffarge
2a1c4a6bf1
Merge pull request #1914 from slumbering/docs-remove-auth
remove github authentication. Documentation is now public
2022-03-29 13:43:18 +02:00
jffarge
fb10328a2b remove github authentication. Documentation is now public
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 13:28:45 +02:00
jffarge
e99afb9793 update categories descriptions
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 11:57:34 +02:00
jffarge
7abb7a8920 create generated index for core concepts and use cases
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 10:58:07 +02:00
jffarge
aa25e5e4fd Init auto generated category index with docusaurus
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 10:20:36 +02:00
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
Gerhard Lazu
2a6b91cf72
Merge pull request #1805 from TomChv/doc/add-go-use-case
Docs: Add dagger golang use case
2022-03-28 23:52:59 +01:00
dependabot[bot]
35492b993b
build(deps): bump minimist from 1.2.5 to 1.2.6 in /website
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:34:46 +00:00
dependabot[bot]
68468c8b36
build(deps): bump @docusaurus/core in /website
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.17 to 2.0.0-beta.18.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.18/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 19:33:52 +00:00
Gerhard Lazu
6db19fcea2
Allow any published dagger version to be installed via install.sh
This also updates Getting Started - CI/CD in your local dev - Linux & Mac doc.
A few other related doc changes were pulled in by this.

I wanted to try different versions of dagger on Linux, and this was the
easiest way of doing that:

    curl -L https://dl.dagger.io/dagger/install.sh -O
    # make this change, and then:

    DAGGER_VERSION=0.2.0 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.0 (e499297e) linux/amd64

    DAGGER_VERSION=0.2.1 sh install.sh
    # ...
    ./bin/dagger version
    dagger 0.2.1 (69b4845d) linux/amd64

This change enables anyone to do the following instead:

    curl -L https://dl.dagger.io/dagger/install.sh \
    | DAGGER_VERSION=0.2.0 sh

Until this gets merged, you can test how this change works in practice
via this temporary file:

    curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \
    | DAGGER_VERSION=0.2.0 sh

One thing which I was not sure about is how the file from this
repository ends up on https://dl.dagger.io/dagger/install.sh. I think
this is a manual process today, but I need to confirm this assumption.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-24 23:28:07 +00:00
dependabot[bot]
b09bea16ad
build(deps): bump node-forge from 1.2.1 to 1.3.0 in /website
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 10:50:12 +00:00
Gerhard Lazu
bd22221496
Rebuild Algolia search index for docs
Only include the Europa docs

    cd website
    ./rebuild_algolia_docs_search_index.sh
    jq is /Users/gerhard/.nix-profile/bin/jq
    docker is /Users/gerhard/.nix-profile/bin/docker
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1202/plan/ 16 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1214/migrate-from-dagger-0.1/ 5 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/index.html 40 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1213/api/ 47 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1201/ci-environment/ 15 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1203/client/ 21 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1211/go-docker-swarm/ 15 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1204/secrets/ 12 records)
    > DocSearch: https://deploy-preview-1833--devel-docs-dagger-io.netlify.app/1205/container-images/ 9 records)

    Nb hits: 180

Fixes #1832

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-23 14:57:33 +00:00
Solomon Hykes
4e6d5d487f
Merge pull request #1800 from gerhard/add-missing-entries-to-dagger-cue-api
Add missing definitions to Dagger CUE API docs page
2022-03-16 10:28:05 -07:00
Tom Chauveau
2d3acc61e0
Add dagger golang use case
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-16 12:14:24 +01:00
Jffarge
cea76a8429
Merge pull request #1807 from dagger/dependabot/npm_and_yarn/website/cypress-9.5.2
build(deps-dev): bump cypress from 9.5.1 to 9.5.2 in /website
2022-03-16 09:15:04 +01:00
Gerhard Lazu
dcf3b7ed21
Add missing definitions to Dagger CUE API
Link to the source of truth cue files.

While at it, move this page from Knowledge Base, which is a generic
category, to Core Concepts. The URL didn't change so that we don't break
existing links. FWIW /1213/dagger-cue would have been my choice.

Initially contributed as a change part of
https://github.com/dagger/dagger/pull/1758

Should be merged after https://github.com/dagger/dagger/pull/1799

Related to https://github.com/dagger/dagger/pull/1768

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-15 21:44:37 +00:00
dependabot[bot]
4f1026e5b0
build(deps-dev): bump cypress from 9.5.1 to 9.5.2 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.5.1 to 9.5.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.5.1...v9.5.2)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 19:18:47 +00:00
Gerhard Lazu
ee95b323ab
Add What is Cue? page to Europa Docs sidebar
This duplicates the existing page and uses a new ID so that clicking on
it in one sidebar (pre-Europa) will not update the sidebar. We have
learned about this behaviour via
https://github.com/dagger/dagger/pull/1758

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-14 18:17:14 +00:00
jffarge
bb8a79844e fix query string checking to avoid wrong redirection
Signed-off-by: jffarge <jf@dagger.io>
2022-03-14 12:31:33 +01:00
Andrea Luzzardi
9358945526 docs: migrate from 0.1
- Temporary page that just points to the GitHub Discussion
- Goal: create a stable link we can share, update with proper content
  later
- Wasn't sure how to categorize this so I've renamed `DRAFTS` into
  `Knowledge Base`

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-10 16:50:37 -08:00
Gerhard Lazu
9b22932cff
Default docs to Europa
There are a few outstanding tasks, but they can be finished tomorrow.
This is just the beginning of many refinements, so it's all good 🙌

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 20:12:50 +00:00
Gerhard Lazu
1974dd1df7
Update Europa docs - CI/CD in your local dev to the new netlify.cue
Follow-up to https://github.com/dagger/dagger/pull/1693

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-09 17:01:39 +00:00
jffarge
617efb0bb6 Bump up docusaurus to the latest version
Signed-off-by: jffarge <jf@dagger.io>
2022-03-09 09:07:55 +01:00
Gerhard Lazu
c3f21958d2
Europa docs: From local dev to CI environment doc page
The todoapp example contains a Netlify plan which uses the latest dagger
additions: do & Client API. We are thinking of merging the examples
repository into this one to make working with this easier. This is a
step in that direction.

We are not using the yarn package so that we can revert
https://github.com/dagger/dagger/pull/1673 without breaking this
implementation.

The GitHub Action is WIP, we will continue with that tomorrow:
https://github.com/dagger/dagger-for-github/issues/24

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-08 22:17:24 +00:00
Helder Correia
da90baa087
Add new Client API
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-07 17:13:16 -01:00
Gerhard Lazu
d693742477
Europa docs: get started with CI/CD in local dev
The idea is to start simple and get users a good feel for how this works
within 5 minutes or less. We should cover the three popular OSes, and
ensure that everything works as expected.

At the end of this, users will have Dagger set up for local CI/CD, and
know how to make a change to the example app and re-run the build, test
& deploy loop.

This is part of https://github.com/dagger/dagger/issues/1327

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-05 23:58:49 +00:00
Gerhard Lazu
1e0c5d5e7a
Temporarily remove Use Cases from the Europa docs sidebar
The current plan is to add them post 0.2.0 shipping, for now the focus
is on Getting Started & Core Concepts.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-04 18:58:17 +00:00