Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Update. #216

Merged
merged 2 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs mkdocs-mermaid2-plugin
- run: pip install mkdocs mkdocs-material mkdocs-minify-plugin
- run: |
cd docs
mkdocs gh-deploy --force --clean --verbose
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.venv
125 changes: 106 additions & 19 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,120 @@
# Project information
site_name: OSDU Developer
site_author: Microsoft Azure Energy
site_name: OSDU Developer
site_url: https://azure.github.io/osdu-developer/
site_author: Daniel Scholl
site_description: >-
OSDU Developer - Personal Instances : Simplified

docs_dir: src

theme: readthedocs
# Repository
repo_name: azure/osdu-developer
repo_url: https://github.com/azure/osdu-developer

extra_css:
- css/override.css
# Copyright
copyright: Copyright © Microsoft Corporation.

extra:
generator: false

# Configuration
theme:
name: material
logo: images/favicon.png
favicon: images/favicon.ico
# custom_dir: overrides
font:
text: Inter
code: Fira Code
features:
- content.code.copy
- navigation.collapsible
- navigation.instant
- navigation.instant.preview
- navigation.tabs
- navigation.sections
- search.highlight
- search.share
- search.suggest
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/toggle-switch
name: Switch to light mode

# # Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: custom
toggle:
icon: material/toggle-switch
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: custom
toggle:
icon: material/toggle-switch-off
name: Switch to system preference

markdown_extensions:
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- admonition
- def_list
- attr_list

# Plugins
plugins:
- search
- mermaid2
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- minify:
minify_html: true

extra_javascript:
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- javascripts/tablesort.js
extra_css:
- stylesheets/extra.css

nav:
- index.md
- before_you_start.md
- architecture.md
- software.md
- feature_flags.md
- Concepts:
- concepts_overview.md
- before_you_start.md
- feature_flags.md
- Architecture:
- architecture.md
- software.md
- Tutorials:
- tutorial_cli.md
- tutorial_click.md
- tutorial_rest.md
- tutorial_vnet.md
- OSDU Services:
- osdu_source.md
- osdu_core.md
- osdu_reference.md
- tutorials_overview.md
- Deployment:
- tutorial_cli.md
- tutorial_click.md
- tutorial_rest.md
- Debugging:
- tutorial_logs.md
- tutorial_metrics.md
- Advanced Scenarios:
- tutorial_vnet.md
- Services:
- services_overview.md
- services_core.md
- services_reference.md
3 changes: 1 addition & 2 deletions docs/src/index.md → docs/src/concepts_overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# OSDU Developer
# Overview

## Overview

OSDU Developer is an open-source solution designed to enable the creation of lightweight, personal instances of [OSDU™](https://osduforum.org/osdu-data-platform-primer-1/) running on the Azure Public Cloud. These personal instances are tailored specifically for developers and work with the [Azure Developer CLI](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview). This allows engineers to explore and author applications or work directly on technology prior to the transition to a fully managed service offering. A simplified one-click deployment capability with less development features is also available.

Expand Down
Binary file added docs/src/images/browser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/src/javascripts/tablesort.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
document$.subscribe(function() {
var tables = document.querySelectorAll("article table:not([class])")
tables.forEach(function(table) {
new Tablesort(table)
})
})
1 change: 0 additions & 1 deletion docs/src/osdu_reference.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/osdu_core.md → docs/src/services_core.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Core Services
# OSDU Core

This repository can be used to hold the source code for the OSDU Core Services.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/osdu_source.md → docs/src/services_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Gitlab Source
# Overview

Welcome to the OSDU Source Code directory! This directory is structured to help you easily clone down the OSDU services and related repositories using the `gita` command.

Expand Down
1 change: 1 addition & 0 deletions docs/src/services_reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OSDU Reference
24 changes: 24 additions & 0 deletions docs/src/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:root > * {
--md-typeset-a-color: #0199a1;
--md-footer-fg-color: hsla(0, 0%, 100%, 1);
--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
--md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3);
--md-footer-bg-color: #01393b;;
--md-footer-bg-color--dark: #01393b;
--md-typeset-a-color: #0199a1;
}

[data-md-color-scheme="default"] {
--md-primary-fg-color: #01696e;
--md-accent-fg-color: #02c9d3;
}

[data-md-color-scheme="slate"] {
--md-primary-fg-color: #01393b;
--md-accent-fg-color: #02c9d3;
}

li.md-nav__item--section > label.md-nav__link > span.md-ellipsis {
color: #01696e;
}

3 changes: 3 additions & 0 deletions docs/src/tutorial._airflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Working with Airflow

Coming soon.
Loading