Merge pull request #484 from aluzzardi/docs-improvements

docs improvements
This commit is contained in:
Andrea Luzzardi 2021-05-21 13:49:45 -07:00 committed by GitHub
commit 039dd1f687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 36 deletions

View File

@ -18,7 +18,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: "eu-east-1"
AWS_DEFAULT_REGION: "us-east-1"
steps:
- name: Set Tag Name

View File

@ -18,24 +18,22 @@ system changes.
## Learn More
* [Dagger vs. Other Software](doc/vs)
* [Dagger Programming Guide](doc/programming)
* [Dagger Operator Manual](doc/operator)
* [Dagger vs. Other Software](vs)
* [Dagger Programming Guide](programming)
* [Dagger Operator Manual](operator)
## Download and Install
* [Install Dagger from source](doc/install)
* Binary distributions [*coming soon*]
* [Install Dagger](install)
## Community
Join the [Dagger community chatroom](https://discord.gg/Rmffpmc) on Discord.
We welcome beginners and experts alike!
## Alpha disclaimer
Dagger is *alpha-quality software*. It has many bugs, the user interface is minimal, and it may change in incompatible ways at any time. If you are still willing to try it, thank you! We appreciate your help and encourage you to ask questions and report issues.
Dagger is *alpha-quality software*. It has many bugs, the user interface is
minimal, and it may change in incompatible ways at any time. If you are still
willing to try it, thank you! We appreciate your help and encourage you to ask
questions and report issues.

View File

@ -1,32 +1,24 @@
# Sidebar navigation
- label: 'Install deploy'
link: '/install'
- label: Introduction
link: "/"
- label: 'Operator'
link: '/operator'
- label: "Getting started"
link: "/install"
- label: 'Programming'
link: '/programming'
- label: "Dagger vs. Other"
link: "/vs"
- label: 'VS'
link: '/vs'
- label: 'Getting started'
link: '/getting-started'
- label: Usage
- label: Guides
items:
- label: 'Creating docs'
link: '/usage/creating-docs'
- label: 'Navigation'
link: '/usage/navigation'
- label: 'Shadowing'
link: '/usage/shadowing'
- label: "Programming Guide"
link: "/programming"
- label: "Operator Manual"
link: "/operator"
- label: More
items:
- label: FAQ
link: /faq
- label: 'Github'
- label: "GitHub"
link: https://github.com/dagger/dagger
- label: "Discord"
link: https://discord.gg/Rmffpmc

View File

@ -9,15 +9,17 @@ const Select = () => {
useEffect(() => {
async function getTags() {
const fetchTags = await fetch('https://s3-eu-west-1.amazonaws.com/daggerdoc.humans-it.com/tags.json').then(result => result.json());
const fetchTags = await fetch('/tags.json').then(result => result.json());
if (fetchTags.length > 0) {
setTagsList(fetchTags);
}
}
getTags()
}, [])
return (
<SelectStyled value={currentLocation[currentLocation.length - 1]} onChange={(e) => isBrowser ? window.location.pathname = `/${e.currentTarget.value}/index.html` : null}>
<SelectStyled value={currentLocation[currentLocation.length - 1]} onChange={(e) => isBrowser ? window.location.pathname = `/${e.currentTarget.value}` : null}>
{tagsList.map(t => (
<option>{t.tag}</option>
))}