Skip to content

Commit

Permalink
Merge branch 'main' into protocol/convert-html
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Jul 26, 2023
2 parents b70f884 + 88b2384 commit dc730be
Show file tree
Hide file tree
Showing 17 changed files with 376 additions and 187 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
npm run build --if-present
git config user.name ${GITHUB_ACTOR}
git config user.email ${PUSHER_EMAIL}
git add docs/*/*.html docs/*/*.md
git diff-index --quiet HEAD || (npm run pdf --if-present && git add docs/*/*.pdf && git commit -m "auto-refreshed")
git add docs/*/*.html docs/*/*.md docs/*/styles/*
git diff-index --quiet HEAD docs/*/*.html docs/*/*.md docs/*/styles/* || (npm run pdf --if-present && git add docs/*/*.pdf && git commit -m "auto-refreshed")
git push
env:
PUSHER_EMAIL: ${{ github.event.pusher.email }}
Binary file added docs/odata-csdl-json/odata-csdl-json.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-csdl-json/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
Binary file added docs/odata-csdl-xml/odata-csdl-xml.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-csdl-xml/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-data-aggregation-ext/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
Binary file modified docs/odata-json-format/odata-json-format.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-json-format/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
Binary file added docs/odata-protocol/odata-protocol.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-protocol/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/odata-url-conventions/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ a:target {

a[href^="#OData"],
a[href^="#RFC"],
a[href^="#SQL"] {
a[href^="#rfc"] {
font-weight: bold;
}

a[href^="#OData"]::before,
a[href^="#RFC"]::before,
a[href^="#SQL"]::before {
a[href^="#rfc"]::before {
content: "[";
font-weight: bold;
}

a[href^="#OData"]::after,
a[href^="#RFC"]::after,
a[href^="#SQL"]::after {
a[href^="#rfc"]::after {
content: "]";
font-weight: bold;
}
Expand Down
7 changes: 6 additions & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
const fs = require("fs");
const Number = require("./number");
const pandoc = require("./pandoc");
const fs = require("fs");
const { PassThrough } = require("stream");

fs.readdirSync(__dirname + "/..", { withFileTypes: true }).forEach(function (
doc
) {
if (doc.isDirectory() && doc.name.startsWith("odata-")) {
fs.cpSync(
__dirname + "/../styles",
__dirname + "/../docs/" + doc.name + "/styles",
{ recursive: true }
);
var md = fs.createWriteStream(
__dirname + "/../docs/" + doc.name + "/" + doc.name + ".md"
);
Expand Down
Loading

0 comments on commit dc730be

Please sign in to comment.