Skip to content

Commit b82e3ec

Browse files
doublebyte1doublebyte1
andauthored
- Add the ability to export a pdf (#70)
* - Add the ability to export a pdf * - removed print-site plugin to the end, to remove build warnings * - fixed links * - modified test worflow, to run the build in strict mode without the with-pdf plugin * - simplified awk command --------- Co-authored-by: doublebyte1 <[email protected]>
1 parent de6940b commit b82e3ec

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@ jobs:
2222
run: |
2323
python3 -m pip install --upgrade pip
2424
pip3 install -r requirements.txt
25+
26+
- name: Mock mkdocs config without the with-pdf plugin 🧰
27+
run: |
28+
awk '!/with-pdf/' mkdocs.yml > mkdocs-strict.yml
29+
2530
- name: Build 📦
26-
run: mkdocs build --strict
31+
#run: mkdocs build --strict
32+
run: mkdocs build --strict --config-file mkdocs-strict.yml

workshop/content/docs/api-deep-dive/maps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ for a detailed explanation of an example implementation.
151151

152152
### Collections
153153

154-
Given OGC API - Maps uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#collections) deep dive
154+
Given OGC API - Maps uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#feature-collections) deep dive
155155
for a detailed explanation of an example implementation.
156156

157157
OGC API - Maps collection descriptions provide a number of optional properties, including:
@@ -240,7 +240,7 @@ with various query parameters applied.
240240

241241
### Collection
242242

243-
Given OGC API - Maps uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#collection) deep dive
243+
Given OGC API - Maps uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#feature-collection) deep dive
244244
for a detailed explanation of an example implementation, as well as the [Collections](#collections) description.
245245

246246
To inspect the specific collection, run the request <https://demo.pygeoapi.io/master/collections/mapserver_world_map?f=json>.

workshop/content/docs/api-deep-dive/tiles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,12 @@ for a detailed explanation of an example implementation.
279279

280280
### Collections
281281

282-
Given OGC API - Tiles uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#collections) deep dive
282+
Given OGC API - Tiles uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#feature-collections) deep dive
283283
for a detailed explanation of an example implementation.
284284

285285
### Collection
286286

287-
Given OGC API - Tiles uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#collection) deep dive
287+
Given OGC API - Tiles uses OGC API - Common as a building block, please see the [OGC API - Features](features.md#feature-collection) deep dive
288288
for a detailed explanation of an example implementation.
289289

290290
### Tiling Schemes

workshop/content/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The workshop contents, wiki and issue tracker are managed on GitHub at [github.c
7373

7474
## Printing this workshop
7575

76-
To print this workshop, navigate to the [print page](/print_page) and select *File > Print > Save as PDF*.
76+
To print this workshop, navigate to the [print page](https://ogcapi-workshop.ogc.org/print_page/) and select *File > Print > Save as PDF*.
7777

7878
# Support
7979

workshop/content/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ theme:
4343

4444
plugins:
4545
- search
46+
- with-pdf
4647
- print-site
4748

4849
markdown_extensions:

workshop/content/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mkdocs
22
mkdocs-material
33
mkdocs-print-site-plugin
4+
mkdocs-with-pdf

0 commit comments

Comments
 (0)