Skip to content

Commit

Permalink
make md and mdx files indent at 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Feb 25, 2025
1 parent 5b373ab commit 8e2a97c
Show file tree
Hide file tree
Showing 9 changed files with 223 additions and 217 deletions.
6 changes: 6 additions & 0 deletions docs/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"options": {
"parser": "astro"
}
},
{
"files": ["*.md", "*.mdx"],
"options": {
"tabWidth": 2
}
}
]
}
12 changes: 6 additions & 6 deletions docs/src/content/docs/for-administrators/data-use-terms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ You can then enable data use terms like this:

```yaml
dataUseTerms:
enabled: true
enabled: true
```
Optionally, you can provide links to pages where the data use terms are descripted:
```yaml
dataUseTerms:
enabled: true
urls:
open: https://example.org/open
restricted: https://example.org/restricted
enabled: true
urls:
open: https://example.org/open
restricted: https://example.org/restricted
```
## Disabling data use terms
Expand All @@ -33,5 +33,5 @@ To disable data use terms, set `enabled` to `false`:

```yaml
dataUseTerms:
enabled: false
enabled: false
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Given a nextclade dataset this pipeline uses [nextclade run](https://docs.nextst

```yaml
preprocessing:
- configFile:
nextclade_dataset_name: nextstrain/mpox/all-clades
- configFile:
nextclade_dataset_name: nextstrain/mpox/all-clades
```
Additionally the pipeline performs checks on the metadata fields. The checks are defined by custom preprocessing functions in the `values.yaml` file. These checks can be applied to and customized for other metadata fields, see [Preprocessing Checks](https://github.com/loculus-project/loculus/blob/main/preprocessing/nextclade/README.md#preprocessing-checks) for more info.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ You can enable it in the `values.yaml` by configuring the `sequenceFlagging` sec

```yaml
sequenceFlagging:
github:
organization: pathoplexus
repository: curation_reports
issueTemplate: sequence-metadata-issue.md # (optional)
github:
organization: pathoplexus
repository: curation_reports
issueTemplate: sequence-metadata-issue.md # (optional)
```
Sequence reporting is done through GitHub issues.
Expand Down
118 changes: 59 additions & 59 deletions docs/src/content/docs/for-administrators/setup-with-k3d-and-nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,62 +98,62 @@ runDevelopmentMainDatabase: true
runDevelopmentKeycloakDatabase: true

website:
runtimeConfig:
public:
backendUrl: 'https://api.<your domain>/backend'
lapisUrlTemplate: 'https://api.<your domain>/%organism%'
keycloakUrl: 'https://auth.<your domain>'
runtimeConfig:
public:
backendUrl: 'https://api.<your domain>/backend'
lapisUrlTemplate: 'https://api.<your domain>/%organism%'
keycloakUrl: 'https://auth.<your domain>'

auth:
verifyEmail: false
resetPasswordAllowed: false
registrationAllowed: true
smtp: null
identityProviders: null
verifyEmail: false
resetPasswordAllowed: false
registrationAllowed: true
smtp: null
identityProviders: null

disableIngest: true
disableEnaSubmission: true

seqSets:
enabled: false
enabled: false

secrets:
keycloak-admin:
type: raw
data:
initialAdminPassword: '<your initial admin password>'
keycloak-admin:
type: raw
data:
initialAdminPassword: '<your initial admin password>'

organisms:
angelovirus:
schema:
organismName: 'Angelovirus'
metadata:
- name: country
type: string
initiallyVisible: true
- name: city
type: string
initiallyVisible: true
website:
tableColumns:
- country
- city
defaultOrder: descending
defaultOrderBy: country
preprocessing:
- version: 1
image: ghcr.io/loculus-project/preprocessing-nextclade
args:
- 'prepro'
configFile:
log_level: DEBUG
genes: []
batch_size: 100
referenceGenomes:
nucleotideSequences:
- name: 'main'
sequence: 'NNN' # We are not performing alignment here, so this sequence doesn't matter
genes: []
angelovirus:
schema:
organismName: 'Angelovirus'
metadata:
- name: country
type: string
initiallyVisible: true
- name: city
type: string
initiallyVisible: true
website:
tableColumns:
- country
- city
defaultOrder: descending
defaultOrderBy: country
preprocessing:
- version: 1
image: ghcr.io/loculus-project/preprocessing-nextclade
args:
- 'prepro'
configFile:
log_level: DEBUG
genes: []
batch_size: 100
referenceGenomes:
nucleotideSequences:
- name: 'main'
sequence: 'NNN' # We are not performing alignment here, so this sequence doesn't matter
genes: []
```
## Step 4: Install and deploy
Expand Down Expand Up @@ -300,20 +300,20 @@ Then, adapt `my-values.yaml` and add under the `secrets` key:

```yaml
secrets:
database:
type: raw
data:
url: 'jdbc:postgresql://<Loculus database host>:<Loculus database port>/<Loculus database name>'
username: '<Loculus database user>'
password: '<Loculus database password>'
keycloak-database:
type: raw
data:
addr: '<Keycloak database host>'
port: '<Keycloak database port>'
database: '<Keycloak database name>'
username: '<Keycloak database user>'
password: '<Keycloak database password>'
database:
type: raw
data:
url: 'jdbc:postgresql://<Loculus database host>:<Loculus database port>/<Loculus database name>'
username: '<Loculus database user>'
password: '<Loculus database password>'
keycloak-database:
type: raw
data:
addr: '<Keycloak database host>'
port: '<Keycloak database port>'
database: '<Keycloak database name>'
username: '<Keycloak database user>'
password: '<Keycloak database password>'
```
To reinstall Loculus, execute:
Expand Down
Loading

0 comments on commit 8e2a97c

Please sign in to comment.