aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShotaro Aoki <ikoamu@gmail.com>2024-10-13 20:07:36 +0900
committerGitHub <noreply@github.com>2024-10-13 20:07:36 +0900
commit23fbb1f5cb84c3c403c259d045dc60d3b116bc4f (patch)
treeb29c6575b805cdb0db4256155a254f186058fe84
parent1b2789867e2aa2e7ca1c5976cddca67b0e2ed0b7 (diff)
parentd32fbc5b1c07586bb82cf1ebf43d988e37f783a6 (diff)
Merge pull request #30 from ikoamu/default-section-open
doc: add default-section-open
-rw-r--r--README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index d613a68..350b458 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,22 @@ jobs:
site-title: my org-roam!
```
+### Default section open
+
+Sections can be kept closed during initial display.
+
+```yml
+jobs:
+ main:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Generate org-roam-ui page
+ uses: ikoamu/publish-org-roam-ui@main
+ with:
+ org-roam-db-filename: <org-roam-filename>.db
+ default-section-open: false
+```
+
## Customized org-roam-ui
Sites generated by publish-org-roam-ui have additional features implemented that are not in the original org-roam-ui.
@@ -154,4 +170,3 @@ git clone git@github.com:ikoamu/publish-org-roam-ui.git
cd publish-org-roam-ui
./local.sh /path/to/org-roam-dir <org-roam-filename>.db
```
-