Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add versioning #165

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish-on-fleek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
source_branch:
description: 'Publish content from branch (master|staging-temp)'
description: 'Publish content from branch (master|staging)'
required: true
default: staging-temp
default: staging
type: choice
options:
- master
- staging-temp
- staging

jobs:
build-and-deploy:
Expand Down
313 changes: 17 additions & 296 deletions docs/osx/01-how-it-works/01-core/dao-plugin.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
516 changes: 26 additions & 490 deletions docs/osx/01-how-it-works/aragon-os-framework-overview.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/subgraph/01-query-examples/02-balances-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const QueryTokenBalances = gql`
`;
```


The return

```json
Expand Down Expand Up @@ -99,4 +98,5 @@ The return
}
]
}
}
}
```
6 changes: 6 additions & 0 deletions docs/subgraph/reference-guide/directives/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
className: hidden
label: Directives
position: 1
link: null
collapsible: true
collapsed: true
69 changes: 69 additions & 0 deletions docs/subgraph/reference-guide/directives/deprecated.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
id: deprecated
title: deprecated
---




export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}>&nbsp;●&nbsp;</span></>

export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></>

export const Badge = (props) => <><span className={props.class}>{props.text}</span></>

import { useState } from 'react';

export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => {
const [open, setOpen] = useState(startOpen);
return (
<details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
<summary
onClick={(e) => {
e.preventDefault();
setOpen((open) => !open);
}}
style={{ listStyle:'none' }}
>
{open ? dataOpen : dataClose}
</summary>
{open && children}
</details>
);
};








Marks an element of a GraphQL schema as no longer supported.


```graphql
directive @deprecated(
reason: String = "No longer supported"
) on
| ARGUMENT_DEFINITION
| ENUM_VALUE
| FIELD_DEFINITION
| INPUT_FIELD_DEFINITION
```




### Arguments

#### [<code style={{ fontWeight: 'normal' }}>deprecated.<b>reason</b></code>](#)<Bullet />[`String`](/docs/next/subgraph/reference-guide/scalars/string) <Badge class="badge badge--secondary" text="scalar"/>
>
>
> Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).
>





68 changes: 68 additions & 0 deletions docs/subgraph/reference-guide/directives/include.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
id: include
title: include
---




export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}>&nbsp;●&nbsp;</span></>

export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></>

export const Badge = (props) => <><span className={props.class}>{props.text}</span></>

import { useState } from 'react';

export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => {
const [open, setOpen] = useState(startOpen);
return (
<details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
<summary
onClick={(e) => {
e.preventDefault();
setOpen((open) => !open);
}}
style={{ listStyle:'none' }}
>
{open ? dataOpen : dataClose}
</summary>
{open && children}
</details>
);
};








Directs the executor to include this field or fragment only when the `if` argument is true.


```graphql
directive @include(
if: Boolean!
) on
| FIELD
| FRAGMENT_SPREAD
| INLINE_FRAGMENT
```




### Arguments

#### [<code style={{ fontWeight: 'normal' }}>include.<b>if</b></code>](#)<Bullet />[`Boolean!`](/docs/next/subgraph/reference-guide/scalars/boolean) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/>
>
>
> Included when true.
>





68 changes: 68 additions & 0 deletions docs/subgraph/reference-guide/directives/skip.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
id: skip
title: skip
---




export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}>&nbsp;●&nbsp;</span></>

export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></>

export const Badge = (props) => <><span className={props.class}>{props.text}</span></>

import { useState } from 'react';

export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => {
const [open, setOpen] = useState(startOpen);
return (
<details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
<summary
onClick={(e) => {
e.preventDefault();
setOpen((open) => !open);
}}
style={{ listStyle:'none' }}
>
{open ? dataOpen : dataClose}
</summary>
{open && children}
</details>
);
};








Directs the executor to skip this field or fragment when the `if` argument is true.


```graphql
directive @skip(
if: Boolean!
) on
| FIELD
| FRAGMENT_SPREAD
| INLINE_FRAGMENT
```




### Arguments

#### [<code style={{ fontWeight: 'normal' }}>skip.<b>if</b></code>](#)<Bullet />[`Boolean!`](/docs/next/subgraph/reference-guide/scalars/boolean) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/>
>
>
> Skipped when true.
>





65 changes: 65 additions & 0 deletions docs/subgraph/reference-guide/directives/specified-by.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
id: specified-by
title: specifiedBy
---




export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}>&nbsp;●&nbsp;</span></>

export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></>

export const Badge = (props) => <><span className={props.class}>{props.text}</span></>

import { useState } from 'react';

export const Details = ({ dataOpen, dataClose, children, startOpen = false }) => {
const [open, setOpen] = useState(startOpen);
return (
<details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
<summary
onClick={(e) => {
e.preventDefault();
setOpen((open) => !open);
}}
style={{ listStyle:'none' }}
>
{open ? dataOpen : dataClose}
</summary>
{open && children}
</details>
);
};








Exposes a URL that specifies the behavior of this scalar.


```graphql
directive @specifiedBy(
url: String!
) on SCALAR
```




### Arguments

#### [<code style={{ fontWeight: 'normal' }}>specifiedBy.<b>url</b></code>](#)<Bullet />[`String!`](/docs/next/subgraph/reference-guide/scalars/string) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/>
>
>
> The URL that specifies the behavior of this scalar.
>





5 changes: 5 additions & 0 deletions docs/subgraph/reference-guide/enums/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
label: Enums
position: 1
link: null
collapsible: true
collapsed: true
Loading