https://github.com/clarin-eric/fcs-misc
Specification documents, examples and schema files
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Keywords
Repository
Specification documents, examples and schema files
Basic Info
- Host: GitHub
- Owner: clarin-eric
- Language: Java
- Default Branch: main
- Homepage: https://www.clarin.eu/content/federated-content-search-clarin-fcs-technical-details
- Size: 63.4 MB
Statistics
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
FCS Miscellaneous Resources
This repo contains AsciiDoc sources, images, examples and schema files for the CLARIN Federated Content Search (FCS) specification documents found at clarin.eu. Prior versions of the specification documents with examples and schema files are also backed up in the historical/ folder. Current builds of the AsciiDoc sources are available on this page.
Jump to: [Specification Documents] | [Tutorial Documents] | [Historical Resources] | [Webpage with Builds]
Specification Documents
- CLARIN Federated Content Search - FCS Core 2.0:
fcs-core-2.0/index.adoc - CLARIN Federated Content Search - FCS Core 1.0:
fcs-core-1.0/index.adoc - CLARIN Federated Content Search - FCS Data Views 1.0:
fcs-dataviews-1.0/index.adoc - WIP CLARIN Federated Content Search - FCS AAI 1.0:
fcs-aai/index.adoc - WIP Text+ LexFCS 1.0:
lexfcs/index.adoc(Mirror of Text+ Gitlab Repo)
Folder Structure
All the specification documents are structured as follows in their sub folders:
- index.adoc -- AsciiDoc entrypoint document that bundles and includes single chapters into one
- attachments/ -- (optional) with schema files or similar
- examples/ -- (optional) examples (or fragments) that are included in the specification document
- images/ -- (optional) for images that will be in the specification
- themes/ -- links to the global themes/ folder with the clarin theme
AsciiDoc
- global
themes/folder for CLARIN
How to build
Please take a look at the Github Actions workflow definitions in .github/workflows. All the specification documents will be built automatically when their source files change. (NOTE: changes to theme files may require manually triggering the build.)
You can build the specifications documents yourself with:
```bash
Set spec you want to build
Based on folder names, choose one of: fcs-core-1.0, fcs-core-2.0, fcs-aai, fcs-dataviews-1.0
NAME=fcs-core-2.0
Output will be placed in docs/
Build HTML
asciidoctor -v -D docs -a data-uri --backend=html5 -o ${NAME}.html ${NAME}/index.adoc
Build PDF
asciidoctor-pdf -v -D docs -o ${NAME}.pdf ${NAME}/index.adoc
(optional) Copy attachments
cp -R ${NAME}/attachments docs/
(optional) Copy examples (are already included into the documents)
cp -R ${NAME}/examples docs/ ```
You can use the asciidoctor/docker-asciidoctor docker image for building the specifications if you don't want to install various dependencies. Note that the build artifacts belong to the root user.
```bash docker run --rm -it -v $(pwd):/documents asciidoctor/docker-asciidoctor
then run your build commands
```
Tutorial Documents
For build instructions, see section Specification Documents "How to build".
This is a RevealJS slide deck based on AsciiDoc and needs slightly different build steps. Those are currently only listed in the GitHub Actions Workflow. The following are a copy:
``bash
# Output will be placed inslides/`
# Setup "dependencies" git clone -b 4.1.2 --depth 1 https://github.com/hakimel/reveal.js.git mkdir -p slides/reveal.js mv reveal.js/dist slides/reveal.js/ mv reveal.js/plugin slides/reveal.js/ rm -rf reveal.js/
git clone -b 10.7.3 --depth 1 https://github.com/highlightjs/highlight.js.git mv highlight.js/src/styles/github.css slides/reveal.js/plugin/highlight/ mv highlight.js/src/styles/idea.css slides/reveal.js/plugin/highlight/ mv highlight.js/src/styles/magula.css slides/reveal.js/plugin/highlight/ rm -rf highlight.js/
# Build Slides asciidoctor-revealjs -v -D slides fcs-endpoint-dev-slides/index.adoc
# Copy images/styles/... cp -R -v fcs-endpoint-dev-slides/images slides/ cp -R -v fcs-endpoint-dev-slides/css slides/ cp -R -v fcs-endpoint-dev-slides/js slides/
# Display slides, visit "localhost:8000" cd slides/ python3 -m http.server 8000 # or simply open the "index.html" ```
Historical Resources
To be found under historical/:
documents/-- specification documentsexamples/-- examples from specificationschema/--xsdschema filessoftware/mpi-endpoint/-- CQL Search servlet
Webpage with Builds
A static overview webpage with latest document builds is available at https://clarin-eric.github.io/fcs-misc/.
To update this page (only manually), go to Actions: publish to <gh-pages> and trigger a rebuild with the Run workflow button on the main branch.
Owner
- Name: CLARIN ERIC
- Login: clarin-eric
- Kind: organization
- Email: trac@clarin.eu
- Location: Utrecht, The Netherlands
- Website: https://www.clarin.eu/content/development-information
- Repositories: 132
- Profile: https://github.com/clarin-eric
CLARIN central source code hub
GitHub Events
Total
- Push event: 12
- Gollum event: 1
- Fork event: 1
Last Year
- Push event: 12
- Gollum event: 1
- Fork event: 1
Dependencies
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- net.sf.saxon:saxon-dom 9.1.0.8 compile
- org.springframework:spring 2.5.6 compile
- com.google.code.findbugs:annotations 2.0.3 provided
- javax.servlet:servlet-api 2.5 provided
- com.google.guava:guava 18.0
- eu.clarin.sru:sru-server 1.6.0
- net.sf.saxon:saxon 9.1.0.8
- nl.mpi.annot.search:annot-search-lib 1.4.11
- nl.mpi.annot.tools:annot-tools-servlets 1.1.12
- nl.mpi.annot:annot-tools 1.1.12
- nl.mpi:corpusstructure-api 1.8.6
- nl.mpi:imdi-api 1.1.5
- nl.mpi:mpi-deploy 1.0
- nl.mpi:mpi-util 1.2.4
- org.simpleframework:simple-xml 2.7.1
- org.slf4j:slf4j-log4j12 ${mpi.parent.slf4j.version}
- xalan:xalan 2.7.2
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- Mattraks/delete-workflow-runs v2 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite