Skip to content

Commit 5c58177

Browse files
authored
fix: Search function and updated the links (#125)
* fix: search functionality for GitHub Pages search Signed-off-by: Orhun Ucak <[email protected]> * fix: update links and callout context in documentation Signed-off-by: Orhun Ucak <[email protected]> * fix: correct image path in documentation Signed-off-by: Orhun Ucak <[email protected]> * fix: remove empty FAQs page Signed-off-by: Orhun Ucak <[email protected]> * fix: remove FAQs section from main menu and navigation Signed-off-by: Orhun Ucak <[email protected]> * fix: remove FAQs section from mainSections in params.toml Signed-off-by: Orhun Ucak <[email protected]> * fix: remove Others section from navigation and preserve content Signed-off-by: Orhun Ucak <[email protected]> * fix: update tools link in index.html to point to the correct documentation path Signed-off-by: Orhun Ucak <[email protected]> * fix: update COVESA logo image path to the correct location Signed-off-by: Orhun Ucak <[email protected]> * fix: update links in documentation to use the correct path prefix Signed-off-by: Orhun Ucak <[email protected]> --------- Signed-off-by: Orhun Ucak <[email protected]>
1 parent b57259c commit 5c58177

27 files changed

+47
-58
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ yarn-error.log*
1414
public/
1515
.hugo_build.lock
1616
hugo_stats.json
17+
resources/_gen/
18+
docs-gen/resources/_gen/
1719

1820
# Local configuration files
1921
.envrc

docs-gen/config/_default/menus/menus.en.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@
1010
url = "examples/"
1111
weight = 20
1212

13-
[[main]]
14-
name = "FAQs"
15-
identifier = "faqs"
16-
url = "faqs/"
17-
weight = 30
18-
19-
[[main]]
20-
name = "Others"
21-
identifier = "others"
22-
url = "others/"
23-
weight = 40
24-
2513
# Docs submenu items
2614
[[docs]]
2715
name = "Approach Overview"

docs-gen/config/_default/params.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "S2DM - Signal to Data Model documentation"
44
images = ["preview.png"]
55

66
# mainSections
7-
mainSections = ["approach-overview", "data-modeling-guideline", "tools", "examples", "faqs", "others"]
7+
mainSections = ["approach-overview", "data-modeling-guideline", "tools", "examples"]
88
# Doks (@hyas/doks-core)
99
[doks]
1010
# Color mode
@@ -40,7 +40,7 @@ mainSections = ["approach-overview", "data-modeling-guideline", "tools", "exampl
4040
bootstrapJavascript = false # false (default) or true
4141

4242
# Nav
43-
sectionNav = ["docs", "examples", "faqs", "others"] # ["docs"] (default) or list of sections (e.g. ["docs", "guides"])
43+
sectionNav = ["docs", "examples"] # ["docs"] (default) or list of sections (e.g. ["docs", "guides"])
4444
toTopButton = false # false (default) or true
4545
breadcrumbTrail = true # false (default) or true
4646
headlineHash = true # true (default) or false

docs-gen/config/production/hugo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Overrides for production environment
2-
baseURL = "https://giaccomole.github.io/s2dm/"
2+
baseURL = "/s2dm/"
33
relativeURLs = false
4-
canonifyURLs = true
4+
canonifyURLs = false
55
disableLiveReload = true
66
enableRobotsTXT = true
77

docs-gen/content/Others/approach_primer.md renamed to docs-gen/content-archive/Others/approach_primer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ The reference mapping between the Vehicle Signal Specification (VSS) and this S2
4343
| **Support for cross-domain references** | Multiple cross-referenced domains are supported natively by the language (useful for contextual data). |
4444
| **Community & Tools** | Data model can be used in multiple up-to-date public tools. Modeling approach is based on a language that is already established in the open community. |
4545

46-
![Goal](/images/vss-limits-criteria.jpg)
46+
![Goal](/s2dm/images/vss-limits-criteria.jpg)
4747
#### Goal
4848
- To minimize the effort needed to develop, extend, and maintain vehicle-related semantic data models.
49-
![Goal](/images/current-vs-desired.jpg)
49+
![Goal](/s2dm/images/current-vs-desired.jpg)
5050
#### Artifact
5151
- A guideline on how to model vehicle-related data with proper semantics and good practices.
5252

@@ -64,7 +64,7 @@ In the case that no existing data matches his needs, simple steps must allow the
6464
To that end, such a process is proposed with the following ideas:
6565

6666

67-
![General flow](/images/general-flow.jpg)
67+
![General flow](/s2dm/images/general-flow.jpg)
6868

6969
### Idea (1): Maintain Entity and Property sets
7070
In an application, most of the value is centered around what one can read or write.
File renamed without changes.

docs-gen/content/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ The _Simplified Semantic Data Modeling_ (`S2DM`) is an approach for modeling dat
77
It is **_simple_** in the sense that any _Subject Matter Expert_ (SME) could contribute to a controlled vocabulary with minimal data modeling expertise.
88
Likewise, it is **_semantic_** in the sense that it specifies meaningful data structures, their cross-domain relationships, and arbitrary classification schemes.
99

10-
{{< callout type="note" >}}
10+
{{< callout context="note">}}
1111
Bear in mind the word _**Simplified**_ in the name.
1212
This approach aims to foster the adoption of (some) good data modeling practices.
1313
It does not intend to re-invent or replace long-standing standards, such as those of the [Semantic Web](https://www.w3.org/2001/sw/wiki/Main_Page).
1414
Therefore, it does not incorporate advanced reasoning capabilities or comprehensive ontologies typically associated with traditional semantic data modeling.
1515
{{< /callout >}}
1616

1717
<div class="w-100 my-4">
18-
<img src="/images/s2dm_role.png" alt="S2DM Role Overview" class="img-fluid w-100" style="max-width: 100%; height: auto;">
18+
<img src="/s2dm/images/s2dm_role.png" alt="S2DM Role Overview" class="img-fluid w-100" style="max-width: 100%; height: auto;">
1919
</div>
2020

2121
The figure above ilustrates the role of the `S2DM` approach.
2222
One can distinghish three areas:
2323
the re-use of existing resources (left), the artifacts offered by `S2DM` (center), and the resulting domain data model created and maintained with `S2DM` artifacts (right).
2424

2525
### Getting started
26-
* Get a basic understanding of the [S2DM approach](/approach-overview).
27-
* Model your domain following the [S2DM data modeling guideline](/data-modeling-guideline).
28-
* Maintain your domain model with the support of the provided [S2DM tools](/tools).
26+
* Get a basic understanding of the [S2DM approach](/s2dm/docs/approach-overview).
27+
* Model your domain following the [S2DM data modeling guideline](/s2dm/docs/data-modeling-guideline).
28+
* Maintain your domain model with the support of the provided [S2DM tools](/s2dm/docs/tools).
2929

30-
{{< callout type="tip" >}}
30+
{{< callout context="tip" >}}
3131
`S2DM` artifacts are based on the following existing resources. Getting familiar with them is recommended.
3232

3333
- **Modeling languages and vocabularies**
@@ -37,5 +37,5 @@ the re-use of existing resources (left), the artifacts offered by `S2DM` (center
3737
- **Tools**
3838
- [rdflib](https://rdflib.readthedocs.io): For working with RDF data in Python (e.g., `SKOS`).
3939
- [graphql-core](https://graphql-core-3.readthedocs.io): For working with `GraphQL` schemas in Python (e.g., `SDL`).
40-
- [Others](https://github.com/COVESA/s2dm/blob/main/pyproject.toml)
40+
- [Additional dependencies](https://github.com/COVESA/s2dm/blob/main/pyproject.toml)
4141
{{< /callout >}}

docs-gen/content/docs/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Welcome to the complete documentation for the **Simplified Semantic Data Modelin
1212

1313
The documentation is structured to guide you through understanding, implementing, and using S2DM:
1414

15-
- **[Approach Overview](/docs/approach-overview/)** - Learn the fundamental concepts and principles of S2DM
16-
- **[Data Modeling Guideline](/docs/data-modeling-guideline/)** - Step-by-step guide to modeling your domain with S2DM
17-
- **[Tools](/docs/tools/)** - Available tools and utilities to support your S2DM implementation
15+
- **[Approach Overview](/s2dm/docs/approach-overview/)** - Learn the fundamental concepts and principles of S2DM
16+
- **[Data Modeling Guideline](/s2dm/docs/data-modeling-guideline/)** - Step-by-step guide to modeling your domain with S2DM
17+
- **[Tools](/s2dm/docs/tools/)** - Available tools and utilities to support your S2DM implementation
1818

1919
Each section contains detailed information to help you effectively use the S2DM approach for your data modeling needs.

docs-gen/content/docs/approach-overview/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Approach overview
33
weight: 10
44
---
55

6-
![Fig:s2dm_role](/images/s2dm_overview.png)
6+
![Fig:s2dm_role](/s2dm/images/s2dm_overview.png)
77
The design of `S2DM` can be summarized in these parts:
88

99
1. [Objects & Fields](objects-and-fields/)

docs-gen/content/docs/approach-overview/capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ weight: 60
44
chapter: false
55
---
66

7-
![Frame 6: Capabilities](/images/Frame%206.png)
7+
![Frame 6: Capabilities](/s2dm/images/Frame%206.png)
88

99
Under construction...

0 commit comments

Comments
 (0)