Skip to content

Commit

Permalink
Typedoc (#319)
Browse files Browse the repository at this point in the history
* styles: export Theme and Pois interfaces

fix CI
  • Loading branch information
bdon authored Oct 11, 2024
1 parent f2de21f commit 19a7164
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- name: Check styles
run: npm ci && npm run tsc && npm run check
working-directory: styles
- run: npm ci && npm run tsc && npm run check && npm run build
working-directory: app
- name: Generate styles typedoc
run: npx typedoc src/index.ts --out ../app/dist/typedoc
working-directory: styles
- run: npm ci && npm run tsc && npm run check && npm run build
working-directory: app
- run: python .github/check_examples.py
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
3 changes: 2 additions & 1 deletion styles/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { LayerSpecification } from "@maplibre/maplibre-gl-style-spec";
import { labels_layers, nolabels_layers } from "./base_layers";
import { language_script_pairs } from "./language";
import themes, { Theme } from "./themes";
import themes, { Theme, Pois } from "./themes";

export { language_script_pairs };
export type { Theme, Pois };

export default function (
source: string,
Expand Down

0 comments on commit 19a7164

Please sign in to comment.