|
13 | 13 | "serve": "docusaurus serve", |
14 | 14 | "write-translations": "docusaurus write-translations", |
15 | 15 | "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", |
17 | 17 | "//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", |
20 | 20 | "copy-static-docs": "cp ./static-docs/*.* ./docs", |
21 | 21 | "docu-pdf": "docu-pdf", |
22 | 22 | "make-pdf": "bash make-pdf.sh http://localhost:3000", |
23 | 23 | "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", |
25 | 25 | "crowdin": "crowdin", |
26 | 26 | "//pretranslate": " used to re-apply translations when files are renamed or reorganized", |
27 | 27 | "crowdin:pretranslate": "crowdin pre-translate --method tm --translate-untranslated-only --translate-with-perfect-match-only --verbose", |
|
48 | 48 | }, |
49 | 49 | "devDependencies": { |
50 | 50 | "@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", |
52 | 52 | "@tsconfig/docusaurus": "1.0.7", |
53 | 53 | "typescript": "4.9.5" |
54 | 54 | }, |
|
0 commit comments