Skip to content

Commit ed12f97

Browse files
committed
Upgrade to docu-notion v1.0.0-alpha.2
Allows H4 headings
1 parent 5fd5da4 commit ed12f97

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"serve": "docusaurus serve",
1414
"write-translations": "docusaurus write-translations",
1515
"write-heading-ids": "docusaurus write-heading-ids",
16-
"pull": "cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
16+
"pull": "cross-var docu-notion --docusaurus-v2 -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
1717
"//clear-then-pull": "for a time, we were clearing by default but decided not to as a way to keep published pages published if their status changes (e.g. to ReadyForReview)",
18-
"clear-then-pull": "pnpm clear && cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
19-
"pull-test-only": "pnpm clear && cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --status-tag test --log-level debug",
18+
"clear-then-pull": "pnpm clear && cross-var docu-notion --docusaurus-v2 -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
19+
"pull-test-only": "pnpm clear && cross-var docu-notion --docusaurus-v2 -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --status-tag test --log-level debug",
2020
"copy-static-docs": "cp ./static-docs/*.* ./docs",
2121
"docu-pdf": "docu-pdf",
2222
"make-pdf": "bash make-pdf.sh http://localhost:3000",
2323
"make-pdf:live": "bash make-pdf.sh https://docs.bloomlibrary.org",
24-
"pull-to-test-docs": "cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE -m \"./testdocs\" --status-tag test --log-level debug",
24+
"pull-to-test-docs": "cross-var docu-notion --docusaurus-v2 -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE -m \"./testdocs\" --status-tag test --log-level debug",
2525
"crowdin": "crowdin",
2626
"//pretranslate": " used to re-apply translations when files are renamed or reorganized",
2727
"crowdin:pretranslate": "crowdin pre-translate --method tm --translate-untranslated-only --translate-with-perfect-match-only --verbose",
@@ -48,7 +48,7 @@
4848
},
4949
"devDependencies": {
5050
"@docusaurus/module-type-aliases": "2.4.3",
51-
"@sillsdev/docu-notion": "0.17.0-alpha.4",
51+
"@sillsdev/docu-notion": "1.0.0-alpha.2",
5252
"@tsconfig/docusaurus": "1.0.7",
5353
"typescript": "4.9.5"
5454
},

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Delay adoption of newly published versions by 7 days (10080 minutes).
22
minimumReleaseAge: 10080
33

4+
# Exclude docu-notion from the minimum release age requirement since we control it
5+
minimumReleaseAgeExclude:
6+
- "@sillsdev/docu-notion"
7+
48
# Reject non-registry transitive dependency sources such as git/file/url deps.
59
blockExoticSubdeps: true
610

0 commit comments

Comments
 (0)