aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorikoamu <ikoamu@gmail.com>2024-10-13 20:06:44 +0900
committerikoamu <ikoamu@gmail.com>2024-10-13 20:06:44 +0900
commitd32fbc5b1c07586bb82cf1ebf43d988e37f783a6 (patch)
treeb29c6575b805cdb0db4256155a254f186058fe84
parent1b2789867e2aa2e7ca1c5976cddca67b0e2ed0b7 (diff)
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
```
-