diff --git a/.github/workflows/publish-pages-live.yml b/.github/workflows/publish-pages-live.yml new file mode 100644 index 00000000000..57db162fa6b --- /dev/null +++ b/.github/workflows/publish-pages-live.yml @@ -0,0 +1,40 @@ +name: Publish bleeding-edge documentation to gh-pages/live + +on: + push: + branches: + - live + +permissions: + contents: write + +jobs: + deploy: + name: Deploy documentation + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + + - name: Set up Node.js + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f + with: + node-version: 24.15.0 + registry-url: https://registry.npmjs.org/ + + - name: Install documentation build dependencies + run: | + sudo apt update + sudo apt install mkdocs mkdocs-material + + - name: Install NPM dependencies + run: npm ci + + - name: Build documentation + run: npm run docs:ci + + - name: Deploy documentation to gh-pages/live + uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 + with: + folder: docs-html + target-folder: live diff --git a/.gitignore b/.gitignore index ed085df6ccb..187c9b716e2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ git-hooks.config.json /docs/assets/configuration-demo-*.css /docs/assets/FiraSans-*.woff2 .dist.preview +.dist.github-io .vscode/settings.json # Old gitignore, maybe cleanup when migrated diff --git a/eslintRules/import-style.ts b/eslintRules/import-style.ts index a376175c2d4..262a7824255 100644 --- a/eslintRules/import-style.ts +++ b/eslintRules/import-style.ts @@ -70,7 +70,7 @@ function resolveToSrcRel( * * Files outside `srcDir` (default `"src"`) are ignored. * - * @example rule options { srcDir: "src" } + * @example rule options \{ srcDir: "src" \} */ const importStyle: Rule.RuleModule = { meta: { diff --git a/examples/github-io/components/Header.vue b/examples/github-io/components/Header.vue index 6ed0595df07..1f4683c72a6 100644 --- a/examples/github-io/components/Header.vue +++ b/examples/github-io/components/Header.vue @@ -176,6 +176,7 @@ import polarLogoSvg from './assets/polar-logo.svg' grid-row: 2; order: unset; margin-bottom: 2rem; + /* TODO: These were from pill; nav also had justify-content: stretch; */ height: auto; padding: 8px; border-radius: 1rem; diff --git a/examples/iceberg/tsconfig.json b/examples/iceberg/tsconfig.json index 4d7d536a361..166437d5e96 100644 --- a/examples/iceberg/tsconfig.json +++ b/examples/iceberg/tsconfig.json @@ -22,6 +22,7 @@ ], "paths": { "@polar/polar": ["../../src/core/index.ts"], + "@polar/polar/client": ["../../src/client.ts"], "@polar/polar/store": ["../../src/core/stores/index.ts"], "@polar/polar/plugins/*": ["../../src/plugins/*/index.ts"], "@polar/polar/plugins/*/store": ["../../src/plugins/*/store.ts"], diff --git a/examples/snowbox/index.js b/examples/snowbox/index.js index 085b2edff47..83d37cc2697 100644 --- a/examples/snowbox/index.js +++ b/examples/snowbox/index.js @@ -628,7 +628,6 @@ addPlugin( displayComponent: true, layoutTag: 'TOP_LEFT', searchMethods: [ - /* { queryParameters: { searchStreets: true, @@ -637,10 +636,10 @@ addPlugin( type: 'mpapi', url: 'https://geodienste.hamburg.de/HH_WFS_GAGES?service=WFS&request=GetFeature&version=2.0.0', }, - */ { type: 'nominatim', url: 'https://polar.dataport.de/nominatim/search', + queryParameters: {}, }, ], minLength: 3, diff --git a/src/plugins/iconMenu/components/StandardMenuList.ce.vue b/src/plugins/iconMenu/components/StandardMenuList.ce.vue index 987165fb88e..8e200ee7757 100644 --- a/src/plugins/iconMenu/components/StandardMenuList.ce.vue +++ b/src/plugins/iconMenu/components/StandardMenuList.ce.vue @@ -134,8 +134,13 @@ function toggle(id: string) {