Skip to content

Commit

Permalink
[feature] initial commit with city-ehr docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marmoure committed Nov 20, 2024
1 parent 3a0e76c commit fac90d0
Show file tree
Hide file tree
Showing 229 changed files with 11,158 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
build:
name: Build and Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
jdk: [11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'liberica'
- name: Build
run: mvn -B clean package
51 changes: 51 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: pages
on:
push:
branches: ["main", "develop"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'liberica'
- name: Generate website (XSLT)
id: generate
# Override Maven properties for the Petal button url
run: mvn -B -Dpetal.api-url=https://petal.evolvedbinary.com -Dpetal.github-org-name=evolvedbinary -Dpetal.github-repo-name=xdita-sample -Dpetal.github-branch=develop -Dpetal.referrer-base-url=https://evolvedbinary.github.io/xdita-sample package
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload pages artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: xdita-sample/target/website/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: generate
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
target/
323 changes: 323 additions & 0 deletions pom.xml

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions src/main/catalog/catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

<public publicId="-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN"
uri="lwdita/lw-topic.dtd"/>
<system systemId="topic.dtd"
uri="lwdita/lw-topic.dtd"/>

<public publicId="-//OASIS//DTD LIGHTWEIGHT DITA Map//EN"
uri="lwdita/lw-map.dtd"/>
<system systemId="map.dtd"
uri="lwdita/lw-map.dtd"/>

<public publicId="http://www.w3.org/1999/XSL/Transform" uri="xslt2/schema-for-xslt20.xsd"/>

</catalog>
40 changes: 40 additions & 0 deletions src/main/catalog/lwdita/lw-common.ent
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Common Entities -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- 26 Oct 2021 ES: split common entities element to their -->
<!-- own files -->
<!-- 04 Oct 2022 KJE: Removed entities that only contained a -->
<!-- single attribute: control-variables, -->
<!-- variable-content, and variable-links -->
<!-- 15 Dec 2022 KJE: Added the inline.noimage entity, -->
<!-- which is used for highlight and emphasis -->
<!-- domain elements; changed "all-inline" to -->
<!-- "inline" in entity names -->
<!-- 05 May 2023 FW: Removed data -->
<!-- ============================================================= -->

<!ENTITY % ph "ph">
<!ENTITY % filter-adds " ">

<!ENTITY % inline "#PCDATA|%ph;|image|xref">
<!ENTITY % inline.noimage "#PCDATA|%ph;|xref">
<!ENTITY % inline.noxref "#PCDATA|%ph;|image">

<!ENTITY % filters
'props CDATA #IMPLIED
%filter-adds; ' >
<!ENTITY % reuse
'id NMTOKEN #IMPLIED
conref CDATA #IMPLIED ' >
<!ENTITY % reference-content
'href CDATA #IMPLIED
format CDATA #IMPLIED
scope (local | peer | external) #IMPLIED '>
<!ENTITY % localization
'dir CDATA #IMPLIED
xml:lang CDATA #IMPLIED
translate CDATA #IMPLIED '>
69 changes: 69 additions & 0 deletions src/main/catalog/lwdita/lw-common.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Common Module -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- 26 Oct 2021 ES: split common entities element to their -->
<!-- own files -->
<!-- 04 Oct 2022 KJE: Defined @keyref directly on elements, -->
<!-- replacing control-variables entity -->
<!-- 31 May 2023 FW: Added <othermeta>, removed <data> -->
<!-- ============================================================= -->

<!-- LONG NAME: Alternative content -->
<!ELEMENT alt (#PCDATA|%ph;)* >
<!ATTLIST alt
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "- topic/alt ">

<!-- LONG NAME: Image -->
<!ELEMENT image (alt?) >
<!ATTLIST image
%localization;
%reference-content;
height NMTOKEN #IMPLIED
width NMTOKEN #IMPLIED
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "- topic/image ">


<!-- LONG NAME: Phrase content -->
<!ELEMENT ph (%inline;)* >
<!ATTLIST ph
%filters;
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "- topic/ph ">

<!-- LONG NAME: Reference -->
<!ELEMENT xref (%inline.noxref;)* >
<!ATTLIST xref
%filters;
%localization;
%reference-content;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "- topic/xref ">

<!-- LONG NAME: Other Metadata -->
<!ELEMENT othermeta EMPTY>
<!ATTLIST othermeta
%localization;
name CDATA #REQUIRED
content CDATA #REQUIRED
class CDATA "- topic/othermeta ">









57 changes: 57 additions & 0 deletions src/main/catalog/lwdita/lw-emphasisDomain.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Emphasis Domain -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an
appropriate system identifier:
PUBLIC "-//OASIS//ELEMENTS LIGHTWEIGHT DITA Emphasis Domain//EN"
Delivered as file "lw-emphasisDomain.mod" -->

<!-- ============================================================= -->
<!-- SYSTEM: Lightweight DITA -->
<!-- -->
<!-- PURPOSE: Declaring the elements and specialization -->
<!-- attributes for the LwDITA emphasis domain -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- XXXX -->
<!-- -->
<!-- (C) OASIS -->
<!-- All Rights Reserved. -->
<!-- -->
<!-- UPDATES: -->
<!-- -->
<!-- 08 Jun 2021 CE: Created emphasis domain and uploaded to -->
<!-- GitHub -->
<!-- 04 Oct 2022 KJE: Defined @keyref directly on elements, -->
<!-- replacing control-variables entity -->
<!-- 15 Dec 2022 KJE: Changed the element content model to the -->
<!-- inline.noimage entity -->
<!-- ============================================================= -->

<!-- LONG NAME: Emphasized text -->
<!ELEMENT em (%inline.noimage;)* >
<!ATTLIST em
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph emph-d/em ">



<!-- LONG NAME: Strong text -->
<!ELEMENT strong (%inline.noimage;)* >
<!ATTLIST strong
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph emph-d/strong ">
99 changes: 99 additions & 0 deletions src/main/catalog/lwdita/lw-highlightDomain.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- MODULE: Lightweight DITA Highlighting Domain -->
<!-- VERSION: 1.0 -->
<!-- DATE: XXX -->
<!-- -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!-- -->
<!-- Refer to this file by the following public identifier or an
appropriate system identifier:
PUBLIC "-//OASIS//ELEMENTS LIGHTWEIGHT DITA Highlight Domain//EN"
Delivered as file "lw-highlightDomain.mod" -->

<!-- ============================================================= -->
<!-- SYSTEM: Lightweight DITA -->
<!-- -->
<!-- PURPOSE: Declaring the elements and specialization -->
<!-- attributes for the LwDITA highlighting domain -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- XXXX -->
<!-- -->
<!-- (C) OASIS -->
<!-- All Rights Reserved. -->
<!-- -->
<!-- UPDATES: -->
<!-- 25 Nov 2014 KJE: Upload files to DITA TC SVN repo -->
<!-- 16 May 2016 MG: Upload files to GitHub repo -->
<!-- 11 Jun 2017 KJE: Added headers and update logs -->
<!-- 14 Jun 2017 RDA: Added @outputclass -->
<!-- 25 Jul 2017 CE: Changed public identifier to LIGHTWEIGHT -->
<!-- DITA -->
<!-- 01 Mar 2018 CE: Renamed file to lw-highlightDomain.mod -->
<!-- 14 Jul 2019 KJE: Alphabeticized element declarations -->
<!-- 04 Oct 2022 KJE: Defined @keyref directly on elements, -->
<!-- replacing control-variables entity -->
<!-- 15 Dec 2022 KJE: Changed the element content model to the -->
<!-- inline.noimage entity; added <tt> -->
<!-- element -->
<!-- ============================================================= -->

<!-- LONG NAME: Bold content -->
<!ELEMENT b (%inline.noimage;)* >
<!ATTLIST b
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/b ">


<!-- LONG NAME: Italic content -->
<!ELEMENT i (%inline.noimage;)* >
<!ATTLIST i
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/i ">


<!-- LONG NAME: Subscript content -->
<!ELEMENT sub (%inline.noimage;)* >
<!ATTLIST sub
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/sub ">

<!-- LONG NAME: Superscript content -->
<!ELEMENT sup (%inline.noimage;)* >
<!ATTLIST sup
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/sup ">

<!-- LONG NAME: Teletype content -->
<!ELEMENT tt (%inline.noimage;)* >
<!ATTLIST tt
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/tt ">

<!-- LONG NAME: Underlined content -->
<!ELEMENT u (%inline.noimage;)* >
<!ATTLIST u
%localization;
keyref CDATA #IMPLIED
outputclass CDATA #IMPLIED
class CDATA "+ topic/ph hi-d/u ">




Loading

0 comments on commit fac90d0

Please sign in to comment.