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 complete metadata config example with xpaths #67

Merged
merged 3 commits into from
Sep 19, 2023
Merged
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
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@ When new documents are added, they won't appear in the sidebar until they are ad
### Generate Translations
When new content is added, whether in `docs` folder or elsewhere, run `npm run docusaurus write-translations -- --locale [locale]` to generate translation entries from the new content. Fill those generated entries with the correct translations for that given locale.

### Useful Components
#### Collapsable Sections
Any content can be made collapsable with the help of the `details` HTML element. Wrap whatever content as follows:

```
<details>
<summary>Title for the collapsed section</summary>

[content goes here]

</details>
```
Note: the feature was discovered through a SO post [here](https://stackoverflow.com/questions/60827828/docusaurus-v2-collapsible-section-in-markdown). ([demo here](https://gist.github.com/joyrexus/16041f2426450e73f5df9391f7f7ae5f))

<hr/>

# Technical Setup
Expand Down
Loading
Loading