|
5 | 5 | - 'main' |
6 | 6 | paths: |
7 | 7 | - 'Sources/**' |
| 8 | + workflow_dispatch: |
8 | 9 | jobs: |
9 | 10 | build-docc: |
10 | 11 | runs-on: macos-12 |
11 | 12 | steps: |
12 | 13 | - name: Checkout repository |
13 | 14 | uses: actions/checkout@v1 |
14 | | - |
15 | | - with: |
16 | | - target: CodeEditTextView |
17 | | - output: ./docs |
18 | | - hosting-base-path: CodeEditTextView |
19 | | - disable-indexing: 'true' |
20 | | - transform-for-static-hosting: 'true' |
| 15 | + - name: Build Documentation |
| 16 | + run: exec ./.github/scripts/build-docc.sh |
21 | 17 | - name: Init new repo in dist folder and commit generated files |
22 | 18 | run: | |
23 | 19 | cd docs |
|
34 | 30 | branch: docs |
35 | 31 | force: true |
36 | 32 | directory: ./docs |
| 33 | + |
| 34 | + ############################ |
| 35 | + ##### IMPORTANT NOTICE ##### |
| 36 | + ############################ |
| 37 | + # This was used to build the documentation catalog until |
| 38 | + # it didn't produce the 'documentation' directory anymore. |
| 39 | + # |
| 40 | + |
| 41 | + # with: |
| 42 | + # target: CodeEditTextView |
| 43 | + # output: ./docs |
| 44 | + # hosting-base-path: CodeEditTextView |
| 45 | + # disable-indexing: 'true' |
| 46 | + # transform-for-static-hosting: 'true' |
| 47 | + # |
| 48 | + # The command that this plugin uses is: |
| 49 | + # |
| 50 | + # swift package --allow-writing-to-directory ./docs generate-documentation \ |
| 51 | + # --target CodeEditTextView |
| 52 | + # --output-path ./docs |
| 53 | + # --hosting-base-path CodeEditTextView |
| 54 | + # --disable-indexing |
| 55 | + # --transform-for-static-hosting |
| 56 | + # |
| 57 | + # We now use xcodebuild to build the documentation catalog instead. |
| 58 | + # |
0 commit comments