Skip to content

Commit

Permalink
update bikeshed setup
Browse files Browse the repository at this point in the history
  • Loading branch information
elf-pavlik committed Jun 22, 2024
1 parent 0229828 commit dd62af0
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: upgrade pip
run: python3 -m pip install --upgrade pip
python-version: '3.10'

- name: install bikeshed
run: |
python3 -m pip install --upgrade bikeshed
pipx install bikeshed
bikeshed update
- name: run bikeshed
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/ci-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Workflow for verifying bikeshed documents processing

name: Verify processing
on:
# only concerned with gating PRs to the main branch
pull_request:
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]

- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: install bikeshed
run: |
pipx install bikeshed
bikeshed update
- name: run bikeshed
run: |
bikeshed spec proposals/specification/index.bs
bikeshed spec proposals/primer/application.bs
bikeshed spec proposals/primer/authorization-agent.bs
- name: generate svg
run: for diagram in proposals/*/diagrams/*.seq.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram; done

- name: generate png
run: for diagram in proposals/*/diagrams/*.flow.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram -o /data/$diagram.png; done
8 changes: 4 additions & 4 deletions proposals/primer/application.bs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<pre class='metadata'>
Title: Solid Application Interoperability - Application Primer
Shortname: solid-interop-application-primer
Shortname: sai-application-primer
Level: 1
Status: w3c/UD
Group: solid-cg
Status: CG-DRAFT
Group: solidcg
URL: https://solid.github.io/data-interoperability-panel/primer/applications.html
Repository: https://github.com/solid/data-interoperability-panel
Inline Github Issues: title
Boilerplate: issues-index no
Local Boilerplate: logo yes
Markup Shorthands: markdown yes
Editor: elf Pavlik
!Version: 0.1
Abstract: Primer for libraries intended to be used by applications.
Boilerplate: omit conformance, omit abstract
</pre>
Expand Down
7 changes: 4 additions & 3 deletions proposals/primer/authorization-agent.bs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@

<pre class='metadata'>
Title: Solid Application Interoperability - Authorization Agent Primer
Shortname: solid-interop-authorization-agent-primer
Shortname: sai-authorization-agent-primer
Level: 1
Status: w3c/UD
Group: solid-cg
Status: CG-DRAFT
Group: solidcg
URL: https://solid.github.io/data-interoperability-panel/primer/authorization-agent.html
Repository: https://github.com/solid/data-interoperability-panel
Inline Github Issues: title
Boilerplate: issues-index no
Local Boilerplate: logo yes
Markup Shorthands: markdown yes
Editor: elf Pavlik
!Version: 0.1
Abstract: Primer for libraries intended to be used by authorization agents.
Boilerplate: omit conformance, omit abstract
</pre>
Expand Down
3 changes: 0 additions & 3 deletions proposals/primer/logo.include

This file was deleted.

11 changes: 4 additions & 7 deletions proposals/specification/index.bs
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<pre class="metadata">
Title: Solid Application Interoperability
Shortname: interop
Shortname: sai
Level: 1
Max ToC Depth: 2
Status: w3c/CG-DRAFT
Group: w3c
Status: CG-DRAFT
Group: solidcg
URL: https://solid.github.io/data-interoperability-panel/specification/
Repository: https://github.com/solid/data-interoperability-panel
Inline Github Issues: title
Editor: Justin Bingham
Editor: Eric Prud'hommeaux
Editor: elf Pavlik
!Version: 0.1
Markup Shorthands: markdown yes
Boilerplate: conformance no
Dark Mode: off
Expand Down Expand Up @@ -151,10 +152,6 @@ em.rfc2119 {

</style>

<div boilerplate="copyright">
MIT License Copyright 2019 - 2021 W3C Solid Community Group
</div>

<pre class=include>path: introduction.bs</pre>
<pre class=include>path: agent.bs</pre>
<pre class=include>path: social-agent.bs</pre>
Expand Down

0 comments on commit dd62af0

Please sign in to comment.