-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1096 from gchq/feature/using-a-model-documentation
Feature/using a model documentation
- Loading branch information
Showing
15 changed files
with
107 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
frontend/pages/docs/users/using-a-model/downloading-files.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import DocsWrapper from 'src/docs/DocsWrapper' | ||
import Image from 'next/legacy/image' | ||
import Box from '@mui/material/Box' | ||
|
||
import releases from 'public/docs/bailo_releases.png' | ||
import release from 'public/docs/bailo_release.png' | ||
|
||
## How to download files | ||
|
||
Files are attached to model releases. You can download files from a release in one of two ways - by either finding the | ||
release in the `Releases` tab and clicking the file download link: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={releases} /> | ||
</Box> | ||
|
||
or alternatively, visiting the page for a specific release and clicking the file download link: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={release} /> | ||
</Box> | ||
|
||
export default ({ children }) => <DocsWrapper>{children}</DocsWrapper> |
28 changes: 28 additions & 0 deletions
28
frontend/pages/docs/users/using-a-model/personal-access-tokens.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import DocsWrapper from 'src/docs/DocsWrapper' | ||
import Image from 'next/legacy/image' | ||
import Box from '@mui/material/Box' | ||
|
||
import personalAccessTokens from 'public/docs/bailo_personal_access_tokens.png' | ||
import createPersonalAccessToken from 'public/docs/bailo_create_personal_access_token.png' | ||
|
||
## What are Personal Access Tokens? | ||
|
||
Personal Access Tokens are used to authenticate users when interacting with the registry. When creating a token you will | ||
be asked to specify which models the token can be used with and which actions the token is able to authenticate. | ||
|
||
## How to create a Personal Access Token | ||
|
||
Visit the personal access tokens page. From here you can click the `Add Token` button to create a new personal access | ||
token: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={personalAccessTokens} /> | ||
</Box> | ||
|
||
Finally, fill out the form and click `Generate Token`: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={createPersonalAccessToken} /> | ||
</Box> | ||
|
||
export default ({ children }) => <DocsWrapper>{children}</DocsWrapper> |
39 changes: 39 additions & 0 deletions
39
frontend/pages/docs/users/using-a-model/requesting-access.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import DocsWrapper from 'src/docs/DocsWrapper' | ||
import Image from 'next/legacy/image' | ||
import Box from '@mui/material/Box' | ||
|
||
import modelOverview from 'public/docs/bailo_model_overview.png' | ||
import selectAccessRequestSchema from 'public/docs/bailo_select_access_request_schema.png' | ||
import createAccessRequest from 'public/docs/bailo_create_access_request.png' | ||
|
||
## What is an Access Request? | ||
|
||
In order to use a model you must first request access to the model. This is so that those managing the model can | ||
authorise and keep tracking of anyone who wants to request access. | ||
|
||
## How to make an Access Request | ||
|
||
Visit the model overview page. From here you can click the "Request Access" button to create a new access request: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={modelOverview} /> | ||
</Box> | ||
|
||
Much like creating a model, access requests forms require a schema, this can be selected like so: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={selectAccessRequestSchema} /> | ||
</Box> | ||
|
||
Finally, fill out the form and submit your access request: | ||
|
||
<Box sx={{ maxWidth: '75%', margin: 'auto' }}> | ||
<Image src={createAccessRequest} /> | ||
</Box> | ||
|
||
## Review Process | ||
|
||
Once this request has been approved by the necessary role you will be able to download Release artefacts and push docker | ||
images. | ||
|
||
export default ({ children }) => <DocsWrapper>{children}</DocsWrapper> |
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.