Skip to content

Add GraphQL docs - #3780

Closed
marcosnils wants to merge 177 commits into
dagger:mainfrom
marcosnils:feat/graphql_docs
Closed

marcosnils wants to merge 177 commits into
dagger:mainfrom
marcosnils:feat/graphql_docs

Conversation

@marcosnils

Copy link
Copy Markdown
Contributor

Fixes #3741

Signed-off-by: Marcos Lilljedahl [email protected]

@marcosnils

Copy link
Copy Markdown
Contributor Author

cc @vikram-dagger here's the PR with my notes in the sidebar navigation layout.

@marcosnils marcosnils added this to the Engine GraphQL release milestone Nov 10, 2022
@vikram-dagger vikram-dagger added the area/documentation Improvements or additions to documentation label Nov 11, 2022
Comment thread docs/current/cli/465058-install.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcosnils

  • are we providing binaries?
  • what will be the process to install for windows/linux/macos?
  • are there any specific prerequisites to install/use the binaries?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • are we providing binaries?

yes!

  • what will be the process to install for windows/linux/macos?

Same as the previous dagger CLI from the Europa docs

  • are there any specific prerequisites to install/use the binaries?

not really

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have added these steps now, please check

Comment thread docs/current/cli/389936-get-started.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide an example for this get started?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide an example for this get started?

Sure, I'll send some examples today about the things you can do in the CLI

Comment thread docs/current/cli/465058-install.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version string can I use here?

Comment thread docs/current/cli/698277-index.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need some additional information for this point.

Comment thread docs/current/cli/698277-index.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated this sequence slightly compared to the SDK introductions. Could you please check it once?

Comment thread docs/current/engine/990050-index.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Engine or API?

Comment thread website/sidebars.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
label: "Dagger Engine",
label: "Overview",

Comment thread docs/current/cli/979595-reference.md Outdated

@vikram-dagger vikram-dagger Nov 14, 2022 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the correct set of CLI options?

Usage:
  dagger [command]

Available Commands:
  client-gen  
  completion  Generate the autocompletion script for the specified shell
  dev         
  do          
  help        Help about any command
  project     
  version     Print dagger version

Flags:
  -h, --help             help for dagger
  -p, --project string   project config file
      --workdir string   The host workdir loaded into dagger

@mircubed

Copy link
Copy Markdown
Contributor

@jpadams @kpenfound can you add some examples here?

@gerhard

gerhard commented Nov 16, 2022

Copy link
Copy Markdown
Contributor

Leaving this with @marcosnils since he has the most context.

sipsma and others added 13 commits November 17, 2022 21:06
This may be fixed in the very near future by upgrading the version of
buildkit we depend on but may as well include this blurb in the
meantime.

Signed-off-by: Erik Sipsma <[email protected]>
`dagger dev --log-output /dev/stderr` to get the previous behaviour

Signed-off-by: Tanguy ⧓ Herrmann <[email protected]>
Signed-off-by: Tanguy ⧓ Herrmann <[email protected]>
* copy the entire filesync implementation from BuildKit and change it to
  just accept direct paths instead of an allowlist of paths
* it is no longer required to pre-configure LocalDirs
* add Directory.export
* remove HostDirectory
* change Host.workdir to return a Directory
* change Host.directory to take a path and return a Directory

Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
Signed-off-by: Alex Suraci <[email protected]>
guiyomh and others added 28 commits November 17, 2022 21:06
Signed-off-by: Erik Sipsma <[email protected]>
This commit adds Python SDK documentation and a new set of nodes to the
navigation tree, It adds the Python SDK introduction, installation steps,
get started guide and additional guide. It adds the code for the guides
as individual code snippets. The additional guide provides a multi-build
example similar to the one used for the Go SDK.

Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Andrea Luzzardi <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
The comment in startEngineSession has more details. It's incredibly
obscure but simple enough to fix that it's worth it.

Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Helder Correia <[email protected]>
- Run `make X` instead of `mage X`
- Use vendored version of mage instead of binary

Signed-off-by: Andrea Luzzardi <[email protected]>
Signed-off-by: Andrea Luzzardi <[email protected]>
This commit adds the documentation for the Dagger API and CLI.
It provides:
- a CLI installation page
- a CLI get started page
- a CLI reference
- an API get started page

It also includes the necessary sidebar navigation.

Fixes #3741

Signed-off-by: Marcos Lilljedahl <[email protected]>
@vikram-dagger

Copy link
Copy Markdown
Contributor

Closing in favour of #3917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Engine, Playground and CLI Documentation Section