Skip to content

Commit

Permalink
#1 various changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeluk committed Feb 17, 2022
1 parent 8516f22 commit fd7670f
Show file tree
Hide file tree
Showing 15 changed files with 280 additions and 18 deletions.
30 changes: 30 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
infra:
- etc/*
- .github/*
- .*
- /**/**.sh
- /**/*.md

agnos-ai:
- customer-assets/agnos-ai/*
- any: ['agnos-*']
- any: ['*-agnos/**/*']
- any: ['*-agnos-ai/**/*']

ekg-mm-intro:
- ekg-mm/sections/ekg-mm-intro*

ekg-mm-business:
- ekg-mm/sections/a-business*

ekg-mm-data:
- ekg-mm/sections/b-data*

ekg-mm-technology:
- ekg-mm/sections/c-technology*

ekg-mm-organization:
- ekg-mm/sections/d-organization*



19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest

steps:
- uses: actions/labeler@master
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ endif
endif

CURRENT_BRANCH := $(shell git branch --show-current)
PAT_MKDOCS_INSIDERS := $(shell cat ~/.secrets/PAT_MKDOCS_INSIDERS.txt 2>/dev/null)
PAT_MKDOCS_INSIDERS := $(shell cat $(HOME)/.secrets/PAT_MKDOCS_INSIDERS.txt 2>/dev/null)
ifeq ($(PAT_MKDOCS_INSIDERS),)
MKDOCS_CONFIG_FILE := 'mkdocs.outsiders.yml'
MKDOCS_CONFIG_FILE := 'mkdocs.outsiders.yml'
$(info You don't have the $(HOME)/.secrets/PAT_MKDOCS_INSIDERS.txt file so we are using the open source version of MkDocs)
else
MKDOCS_CONFIG_FILE := 'mkdocs.yml'
MKDOCS_CONFIG_FILE := 'mkdocs.yml'
endif

.PHONY: all
Expand Down
7 changes: 5 additions & 2 deletions docs/.pages.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
title: Home
nav:
- index.md
- use-case
- ...
- Use Cases: use-case
- Datasets: dataset
- Ontologies: ontology
- other
- glos
3 changes: 3 additions & 0 deletions docs/dataset/.pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: Datasets
nav:
- ...
12 changes: 12 additions & 0 deletions docs/dataset/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Datasets / Data Products

!!! note

COMING SOON

The idea is to publish a catalog of datasets here, linked to use cases, where
for each dataset we also show all [ontologies](../ontology/index.md)
involved as well.

The catalog will be based on an extended version of [DCAT](https://www.w3.org/TR/vocab-dcat-2/).

4 changes: 1 addition & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ Welcome to the use case catalog for the Enterprise Knowledge Graph.
This Catalog is a collection of all use cases that are being
worked on are being discussed in the EKGF community.

Besides all use cases we have:
Besides all use cases, we have:

- Datasets, per use case
- Ontologies, per dataset and per use case


2 changes: 1 addition & 1 deletion docs/javascript/images_dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e =

document.addEventListener("DOMContentLoaded", function(){
alert('The page has fully loaded');
var palette = __md_get("__palette")
const palette = __md_get("__palette");
alert("palette: " + palette)
if (palette && typeof palette.color === "object")
if (palette.color.scheme === "slate") {
Expand Down
2 changes: 0 additions & 2 deletions docs/javascript/refresh_on_toggle_dark_light.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ const paletteSwitcher1 = document.getElementById("__palette_1");
const paletteSwitcher2 = document.getElementById("__palette_2");

paletteSwitcher1.addEventListener("change", function () {
alert("palet 1")
location.reload();
});

paletteSwitcher2.addEventListener("change", function () {
alert("palet 2")
location.reload();
});
3 changes: 3 additions & 0 deletions docs/ontology/.pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: Ontologies
nav:
- ...
6 changes: 6 additions & 0 deletions docs/ontology/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ontologies

!!! note

COMING SOON

3 changes: 3 additions & 0 deletions docs/other/.pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: Other
nav:
- ...
40 changes: 40 additions & 0 deletions docs/other/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Other

The Enterprise Knowledge Graph Foundation is working on multiple initiatives that
have lead to various websites:

## ekgf.org

The main website of the Foundation: [https://ekgf.org](https://ekgf.org)

## Manifesto

The EKG Manifesto:
[https://manifesto.ekgf.org](https://manifesto.ekgf.org),
this is a project that is being maintained in the GitHub repository
[EKGF/ekg-manifesto](https://github.com/EKGF/ekg-manifesto).

You're welcome to contribute.

## Maturity Model

The Maturity Model for the Enterprise Knowledge Graph:
[https://maturity-model.ekgf.org](https://maturity-model.ekgf.org),
this is a project that is being maintained in the GitHub repository
[EKGF/ekg-mm](https://github.com/EKGF/ekg-mm).

You're welcome to contribute.

## Catalog

All use cases from the community, their datasets and their ontologies:
[https://catalog.ekgf.org](https://catalog.ekgf.org)

## Use Case Tree Method

A proposal for a front-to-back method to support your EKG journey:
[https://use-case-tree-method.ekgf.org](https://use-case-tree-method.ekgf.org),
this is a project that is being maintained in the GitHub repository
[EKGF/use-case-tree-method](https://github.com/EKGF/use-case-tree-method).

You're welcome to contribute.
13 changes: 6 additions & 7 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,11 @@ extra_javascript:
- "javascript/refresh_on_toggle_dark_light.js"
- "https://cdn.jsdelivr.net/gh/rod2ik/cdn@main/mkdocs/javascripts/mkdocs-graphviz.js"
plugins:
- include-markdown
- git-revision-date
- search:
lang:
- en
- awesome-pages:
filename: .pages.yaml
collapse_single_pages: false
strict: true
- include-markdown
- git-revision-date
- exclude:
glob:
- "*.tmp"
Expand All @@ -106,6 +102,10 @@ plugins:
theme_folder: "include/themes"
theme_light: "light.puml"
theme_dark: "dark.puml"
- awesome-pages:
filename: .pages.yaml
collapse_single_pages: false
strict: true

markdown_extensions:
- toc:
Expand All @@ -125,7 +125,6 @@ markdown_extensions:
base_path:
- .
- docs
- Queries/SPARQL/
check_paths: true
auto_append:
- abbreviations.md
Expand Down
147 changes: 147 additions & 0 deletions mkdocs.yml2
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
site_name: EKG/Catalog
site_description: Use case catalog for the Enterprise Knowledge Graph
repo_name: 'ekgf/ekg-catalog'
repo_url: https://github.com/ekgf/ekg-catalog
site_url: https://use-cases.ekgf.org
site_dir: site
site_author: Enterprise Knowledge Graph Foundation
copyright: Copyright © 2022 Enterprise Knowledge Graph Foundation
edit_uri: ''
# Navigation
# nav: omitted, because we're using the awesome-pages plugin (https://squidfunk.github.io/mkdocs-material/plugins/awesome-pages/)
extra_css:
- stylesheets/extra.css
theme:
name: material
language: en
custom_dir: docs-overrides/
font:
text: Roboto
code: Roboto Mono
icon:
logo: ekgf-logo-symbol
repo: fontawesome/brands/github
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: light-blue
toggle:
# icon: material/toggle-switch-off-outline
# icon: material/lightbulb-outline
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: deep orange
toggle:
# icon: material/toggle-switch
# icon: material/lightbulb
icon: material/weather-night
name: Switch to light mode
features:
- search.highlight
- navigation.top
- navigation.instant
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
# - navigation.sections
- navigation.expand
- navigation.indexes
- content.code.annotate
extra:
generator: false
giscus:
repo_id: 'R_kgDOG2Ysqg'
category:
name: 'General'
id: 'DIC_kwDOG2Ysqs4CBNPm'
social:
- icon: fontawesome/brands/twitter
link: https://twitter.com/EKG_Foundation
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/EKGF
- icon: fontawesome/brands/github
link: https://github.com/EKGF/ekg-catalog
analytics:
provider: google
property: G-E2T299FBZG
extra_javascript:
- "javascript/images_dark.js"
- "javascript/refresh_on_toggle_dark_light.js"
- "https://cdn.jsdelivr.net/gh/rod2ik/cdn@main/mkdocs/javascripts/mkdocs-graphviz.js"
plugins:
- include-markdown
- git-revision-date
- search:
lang:
- en
- exclude:
glob:
- "*.tmp"
- "*.sparql"
- "*.gz"
- diagrams/src/*
regex:
- '.*\.(tmp|bin|tar)$'
- '_.*\.md$'
- macros:
module_name: docs/main
- build_plantuml:
render: "server" # or "local" for local rendering
bin_path: "/usr/local/bin/plantuml" # ignored when render: server
server: "http://www.plantuml.com/plantuml" # offical plantuml server
output_format: "svg" # or "png"
diagram_root: "docs/diagrams" # should reside under docs_dir
output_folder: "out"
input_folder: "src"
input_extensions: "" # comma separated list of extensions to parse, by default every file is parsed
theme_enabled: true
theme_folder: "include/themes"
theme_light: "light.puml"
theme_dark: "dark.puml"
- awesome-pages:
filename: .pages.yaml
collapse_single_pages: false
strict: true

markdown_extensions:
- toc:
permalink: true
- mdx_spanner
- def_list
- abbr
- admonition
- mdx_emdash
- attr_list
- footnotes
- tables
- md_in_html
- mkdocs_graphviz
- pymdownx.smartsymbols
- pymdownx.snippets:
base_path:
- .
- docs
- Queries/SPARQL/
check_paths: true
auto_append:
- abbreviations.md
- pymdownx.details
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.emoji:
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:materialx.emoji.twemoji
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde

0 comments on commit fd7670f

Please sign in to comment.