Skip to content

Commit 685023e

Browse files
committed
Merge branch 'master' of https://github.com/oxygenxml/blog
2 parents fc01218 + b46aa39 commit 685023e

File tree

187 files changed

+6299
-841
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+6299
-841
lines changed

.contentfusion/ditaProject.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<project xmlns="https://www.dita-ot.org/project">
3+
<context id="nwQcREgTDuzrCKr" name="abcdef">
4+
<input href="../oxygen_xml_blog.ditamap"/>
5+
</context>
6+
<context id="IukfVpqKsJWNBFd" name="Blog">
7+
<input href="../oxygen_xml_blog.ditamap"/>
8+
</context>
9+
<publication id="webhelp" transtype="webhelp-responsive"/>
10+
<publication id="pdf" transtype="pdf-css-html5"/>
11+
<deliverable id="PDF-1704797224129" name="PDF">
12+
<context idref="IukfVpqKsJWNBFd"/>
13+
<output href="pdf-output"/>
14+
<publication idref="pdf"/>
15+
</deliverable>
16+
<deliverable id="d-Oxygen_XML_Blog_to_WebHelp_Responsive-1715330605782" name="Oxygen XML Blog to WebHelp Responsive">
17+
<context idref="IukfVpqKsJWNBFd"/>
18+
<output href="webhelp-output"/>
19+
<publication idref="webhelp"/>
20+
</deliverable>
21+
</project>

.github/workflows/ai-checks.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Validate Blog With AI For Grammar Checks
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
types: [ opened, synchronize, reopened ]
7+
jobs:
8+
check-grammar-using-ai:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Get changed files
15+
id: changed-files
16+
uses: tj-actions/changed-files@v42
17+
- name: Set up JDK 21
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: 21
22+
- name: Make gradlew executable
23+
run: chmod +x ./build/gradlewCustom
24+
- name: Build with Gradle
25+
env: #Or as an environment variable
26+
AI_LICENSE_KEY: ${{secrets.AI_LICENSE_KEY}}
27+
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
28+
run: |
29+
cd ./build/
30+
./gradlewCustom --build-file build-validate-ai.gradle --info --stacktrace runAIValidation
31+
if test -f ../report.md; then cat ../report.md > $GITHUB_STEP_SUMMARY;exit 1; fi

.github/workflows/publish_netlify.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Blog to Netlify
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish-netlify:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK 21
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'temurin'
18+
java-version: '21'
19+
- name: Make gradlew executable
20+
run: chmod +x ./build/gradlewCustom
21+
- name: Build with Gradle
22+
env: # Or as an environment variable
23+
LICENSE_KEY: ${{secrets.LICENSE_KEY}}
24+
run: |
25+
cd ./build
26+
./gradlewCustom --info --stacktrace
27+
- name: Publish
28+
uses: South-Paw/action-netlify-cli@1.0.1
29+
id: netlify
30+
with:
31+
args: 'deploy --json --prod --dir \"./site\" --message \"production [${{ github.sha }}]\"'
32+
env:
33+
NETLIFY_AUTH_TOKEN: ${{ secrets.OXYGEN_XML_BLOG_NETLIFY }}
34+
NETLIFY_SITE_ID: ${{ secrets.OXYGEN_XML_BLOG_NETLIFY_SIDE_ID }}

.github/workflows/publish_s3.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Blog to Amazon S3
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish-s3:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK 21
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'temurin'
18+
java-version: '21'
19+
- name: Make gradlew executable
20+
run: chmod +x ./build/gradlewCustom
21+
- name: Build with Gradle
22+
env: # Or as an environment variable
23+
LICENSE_KEY: ${{secrets.LICENSE_KEY}}
24+
run: |
25+
cd ./build
26+
./gradlewCustom --info --stacktrace
27+
28+
- uses: shallwefootball/s3-upload-action@master
29+
name: Upload S3
30+
id: S3
31+
with:
32+
aws_key_id: ${{ secrets.AWS_KEY_ID }}
33+
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
34+
aws_bucket: ${{ secrets.AWS_BUCKET }}
35+
destination_dir: 'blog'
36+
source_dir: './site'
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Validate And Check For Completeness Blog
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
types: [ opened, synchronize, reopened ]
7+
8+
jobs:
9+
validate-check-completeness:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK 21
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'temurin'
18+
java-version: '21'
19+
- name: Make gradlew executable
20+
run: chmod +x ./build/gradlewCustom
21+
- name: Build with Gradle
22+
env: # Or as an environment variable
23+
SCRIPTING_LICENSE_KEY: ${{secrets.SCRIPTING_LICENSE_KEY}}
24+
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
25+
run: |
26+
cd ./build
27+
./gradlewCustom --build-file build-validate-check.gradle --info --stacktrace runValidation
28+
if test -f ../validationReport.md; then cat ../validationReport.md > $GITHUB_STEP_SUMMARY;exit 1; fi

.github/workflows/workflow.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Oxygen XML Blog
1+
# Oxygen XML Blog
22

33
The Oxygen XML Blog project contains all the resources used to publish the Oxygen
44
XML Blog in DITA format.
55
You can contribute with pull requests extra topics to the Oxygen XML Blog and if accepted
66
the topics will appear as blog posts.
7-
The blog contents are automatically published using Netlify: https://oxygenxmlblog.netlify.com/
7+
The blog contents are automatically published to: https://blog.oxygenxml.com/
88

99
Copyright and License
1010
---------------------
11-
Copyright 2020 Syncro Soft SRL.
11+
Copyright 2024 Syncro Soft SRL.
1212

1313
The materials in this repository are licensed under [Creative Commons Attribution Share Alike 4.0 (CC BY SA)](https://creativecommons.org/licenses/by-sa/4.0/legalcode)

blog-project.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="https://www.dita-ot.org/project">
33
<context name="Oxygen XML Blog" id="blog">
44
<input href="oxygen_xml_blog.ditamap"/>
5-
</context>
5+
</context>
66

77
<deliverable name="Oxygen XML Blog to WebHelp Responsive" id="wh-responsive">
88
<context idref="blog"/>
@@ -12,13 +12,13 @@
1212
</publication>
1313
</deliverable>
1414

15-
<deliverable name="Oxygen XML Blog to PDF" id="pdf">
15+
<!--<deliverable name="Oxygen XML Blog to PDF" id="pdf">
1616
<context idref="blog"/>
1717
<output href="site"/>
1818
<publication transtype="pdf-css-html5">
1919
<param name="pdf.publishing.template" href="publishing/webhelpBlogTemplate"/>
2020
</publication>
21-
</deliverable>
21+
</deliverable>-->
2222

2323
<deliverable name="Oxygen XML Blog to EPUB" id="epub">
2424
<context idref="blog"/>

0 commit comments

Comments
 (0)