Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
eabb8d6
Add EditorConfig, in particular because VS Code default for `.hbs` fi…
QuintinWillison Sep 26, 2022
054b26e
Initial import of my work-in-progress (WIP) towards building an HTML …
QuintinWillison Sep 26, 2022
03a8a84
Fix converting spec points to anchor links
lmars Sep 26, 2022
1c11de8
Add index page at root of the deployment context.
QuintinWillison Sep 27, 2022
44e0978
Remove frontmatter from the textile source files before handing them …
QuintinWillison Sep 27, 2022
0d6e88f
Add Tailwind CSS.
QuintinWillison Oct 2, 2022
77f724c
Add margin below all paragraph elements.
QuintinWillison Oct 2, 2022
cf4449c
Add page titles, with matching H1.
QuintinWillison Oct 2, 2022
b7e3843
Format headings H2 thru H4, and improve formatting of H1.
QuintinWillison Oct 2, 2022
c189559
Add a little more spacing to the sides of page content.
QuintinWillison Oct 2, 2022
99fe6fc
Merge branch 'main' into build-textile-to-html
QuintinWillison Oct 2, 2022
49c8102
Make Tailwind CSS look at all the HTML documents generated.
QuintinWillison Oct 2, 2022
debf277
Provide index to all files from every page so that the real index can…
QuintinWillison Oct 2, 2022
f2835a8
Remove unnecessary insertion of blank lines into textile sources.
QuintinWillison Oct 2, 2022
1200c34
Improve vertical spacing in lists to make them easier to read.
QuintinWillison Oct 2, 2022
c872feb
Make tables prettier by adding borders, padding and heading backgroun…
QuintinWillison Oct 2, 2022
18b78de
Merge branch 'main' into build-textile-to-html
QuintinWillison Oct 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# http://EditorConfig.org

root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
max_line_length = off

[*.md]
trim_trailing_whitespace = false
44 changes: 44 additions & 0 deletions .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Assemble

on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
permissions:
deployments: write
id-token: write
steps:
- uses: actions/checkout@v2

- name: Read Tool Versions
id: tool-versions
run: |
echo "::set-output name=ruby::$(sed -nr 's/ruby ([0-9]+)/\1/p' .tool-versions)"
echo "::set-output name=nodejs::$(sed -nr 's/nodejs ([0-9]+)/\1/p' .tool-versions)"

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ steps.tool-versions.outputs.ruby }}

- name: Install Dependencies
run: npm ci

- name: Lint
run: npm run build

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: eu-west-2
role-to-assume: arn:aws:iam::${{ secrets.ABLY_AWS_ACCOUNT_ID_SDK }}:role/ably-sdk-builds-specification
role-session-name: "${{ github.run_id }}-${{ github.run_number }}"

- uses: ably/sdk-upload-action@v2
with:
sourcePath: output
githubToken: ${{ secrets.GITHUB_TOKEN }}
15 changes: 12 additions & 3 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,20 @@ jobs:

- name: Read Tool Versions
id: tool-versions
run: echo "::set-output name=ruby::$(sed -nr 's/ruby ([0-9]+)/\1/p' .tool-versions)"
run: |
echo "::set-output name=ruby::$(sed -nr 's/ruby ([0-9]+)/\1/p' .tool-versions)"
echo "::set-output name=nodejs::$(sed -nr 's/nodejs ([0-9]+)/\1/p' .tool-versions)"

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ steps.tool-versions.outputs.ruby }}

- name: Find Duplicate Features Spec Items
run: ./scripts/find-duplicate-spec-items
- uses: actions/setup-node@v2
with:
node-version: ${{ steps.tool-versions.outputs.nodejs }}

- name: Install Dependencies
run: npm ci

- name: Lint
run: npm run lint
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/output/
/node_modules/
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ruby 3.0.4
nodejs 16.14.2
Loading