-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement GitHub Pages site to show files generated from latest commit to main. * Fix docrev and revision history for upcoming release. * Update README. * Delete outdated TODO.
- Loading branch information
1 parent
f86eaf1
commit 8754dbe
Showing
8 changed files
with
147 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,46 +24,43 @@ on: | |
|
||
jobs: | ||
build-specs: | ||
name: Build KTX and KTX Fragments specifications | ||
name: Build KTX File Format and KTX Fragment URI specifications | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
GIT_LFS_SKIP_SMUDGE: 1 | ||
WERROR: ON | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# - uses: ruby/setup-ruby@v1 | ||
# with: | ||
# ruby-version: 2.7 | ||
- name: Install Asciidoctor | ||
run: sudo apt-get install -y asciidoctor | ||
|
||
- name: Build specs | ||
run: make ghpages | ||
|
||
- uses: reitzig/[email protected] | ||
- name: Upload generated files for GitHub Pages | ||
id: deployment | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
version: 2.0.18 | ||
|
||
# - name: Force fetch provoking tag's annotation. | ||
# # Work around https://github.com/actions/checkout/issues/290. | ||
# if: github.ref_type == 'tag' | ||
# run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} | ||
|
||
- run: make | ||
|
||
# - name: Upload To Pages | ||
# uses: softprops/action-gh-release@v1 | ||
# if: github.event_name == 'push' && github.ref_type == 'tag' | ||
# with: | ||
# draft: true | ||
# prerelease: true | ||
# files: KTX-Software-${{env.KTX_VERSION}}-Android.zip* | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Deploy job | ||
path: out/ghpages/ | ||
|
||
generate-switches: | ||
name: Generate and test compile format conversion switches. | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Generate switches | ||
run: make switches | ||
|
||
- name: Test compile switches | ||
run: make testswitches | ||
|
||
deploy: | ||
name: Deploy to GitHub Pages | ||
# Add a dependency to the build job | ||
needs: build-specs | ||
# Only deploy when building `main`. | ||
if: github.ref == 'refs/heads/main' | ||
|
||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= KTX Specifications (Latest Committed Versions) | ||
:author: Mark Callow | ||
:author_org: Edgewise Consulting | ||
:description: Main page for KTX GitHub pages site | ||
//:docrev: 3 | ||
//:ktxver: 2.0 | ||
//:revnumber: {ktxver}.{docrev} | ||
//:revdate: {docdate} | ||
//:version-label: Version | ||
:lang: en | ||
:docinfo1: | ||
:doctype: article | ||
:encoding: utf-8 | ||
:stylesheet: khronos.css | ||
:imagesdir: images | ||
:data-uri: | ||
|
||
:url-khr-reg: https://registry.khronos.org | ||
:url-khr-ktx: {url-khr-reg}/KTX | ||
|
||
These generated documents reflect the latest commits to the main branch | ||
of the specification source repo. For latest released (published) versions | ||
see {url-khr-ktx}[the KTX Registry]. | ||
|
||
* link:ktxspec.v2.html[KTX v2.0 Specification] | ||
* link:ktx-frag.html[KTX Fragment URI Specification] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.