Skip to content

Commit 84951ca

Browse files
committed
Clarify that invalid format identifiers raise Unsupported.
- Also adding a custom domain to the build action.
1 parent 6924b5c commit 84951ca

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
- name: Build documentation
2424
run: sphinx-build doc _build
2525

26+
- name: Set CNAME if in public repo
27+
id: cname
28+
run: |
29+
if [ "${{ github.repository }}" = "erbsland/erbsland-lang-config-doc" ]; then
30+
echo "CNAME=config-lang.erbsland.dev" >> $GITHUB_ENV
31+
fi
32+
2633
- name: Deploy
2734
uses: peaceiris/actions-gh-pages@v3
2835
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
@@ -31,3 +38,4 @@ jobs:
3138
github_token: ${{ secrets.GITHUB_TOKEN }}
3239
publish_dir: _build/
3340
force_orphan: true
41+
cname: ${{ env.CNAME }}

doc/reference/byte-data-value.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,9 @@ Errors
379379
- | Raised if the spacing does not align with the bytes.
380380
| Raised if non-hexadecimal or illegal characters are present in the content.
381381
| Raised if the closing sequence is missing.
382-
| Raised if an unknown format is specified.
382+
| Raised if an invalid format identifier is specified.
383+
* - :text-code:`Unsupported`
384+
Raised if an unknown but valid format identifier is specified.
383385
* - :text-code:`Indentation`
384386
- | Raised if no space or tab character is present before a continued byte-data line.
385387
| Raised if the indentation pattern does not match the first entry for multi-line byte-data.

0 commit comments

Comments
 (0)