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

Kf 4175 docs site #196

Merged
merged 68 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
836a244
Repo setup
ColmBhandal Aug 15, 2023
0ffeeb3
Project name
ColmBhandal Aug 16, 2023
786a1c8
Doc check refactor
ColmBhandal Aug 16, 2023
a7000bb
Dispatch event
ColmBhandal Aug 16, 2023
c4eb602
typo
ColmBhandal Aug 16, 2023
f47a3d2
MFlow word
ColmBhandal Aug 16, 2023
c808223
Merge branch 'main' into KF-4175-docs-site
ColmBhandal Aug 22, 2023
1d913a9
Custom conf
ColmBhandal Aug 22, 2023
8e4d7ea
quotes
ColmBhandal Aug 22, 2023
68aa0e4
Starter pack update
ColmBhandal Aug 22, 2023
0c1007c
Latest workflow
ColmBhandal Aug 22, 2023
0b20c6c
Proj name
ColmBhandal Aug 22, 2023
e20bde4
Skeletal landing page
ColmBhandal Aug 23, 2023
0e70829
Charm specific
ColmBhandal Aug 23, 2023
6608ea3
Remove readme
ColmBhandal Aug 23, 2023
de32a5d
Fixed links
ColmBhandal Aug 23, 2023
0a61638
Tentative content
ColmBhandal Aug 23, 2023
00e85c3
Removed V2
ColmBhandal Aug 23, 2023
9da872c
MLflow syntax
ColmBhandal Aug 24, 2023
bc59bfa
Kf 1022 deploy mlflow kubeflow ck8s (#191)
misohu Aug 25, 2023
21b08ae
Syntax fixes
ColmBhandal Aug 25, 2023
3ee3e47
small tweaks
ColmBhandal Aug 25, 2023
48d373c
Dropdown
ColmBhandal Aug 28, 2023
1d5dcfe
Links and code
ColmBhandal Aug 28, 2023
f67ec35
Integrate doc
ColmBhandal Aug 28, 2023
6b539bf
ML Kube tutorial
ColmBhandal Aug 29, 2023
5877cb0
CK8s tweaks
ColmBhandal Aug 29, 2023
8123ac7
Deploy CK8s
ColmBhandal Aug 29, 2023
a0b6ce6
Merge branch 'main' into KF-4175-docs-site
ColmBhandal Aug 29, 2023
01bdfac
Deploy EKS
ColmBhandal Aug 30, 2023
cb286d8
ML KF EKS
ColmBhandal Aug 30, 2023
8797fc2
Migrate guide
ColmBhandal Aug 30, 2023
2bfc2bc
Cos integration
ColmBhandal Aug 30, 2023
ca2347e
Jira to wordlist
ColmBhandal Aug 31, 2023
dc14730
reorder wordlist
ColmBhandal Aug 31, 2023
dfb241a
remove label
ColmBhandal Aug 31, 2023
01d272d
Project and Community
ColmBhandal Sep 4, 2023
624741f
Alphabetical howtos
ColmBhandal Sep 4, 2023
5932aef
Duplicate constraint wording
ColmBhandal Sep 4, 2023
a01e769
Contributing link
ColmBhandal Sep 8, 2023
63a76fe
How-to toc
ColmBhandal Sep 8, 2023
81a8817
Tutorial
ColmBhandal Sep 8, 2023
fdc2e8c
Streamlined intro
ColmBhandal Sep 8, 2023
e1e94cf
Delete docs/.github
ColmBhandal Sep 8, 2023
af74ed8
Newline
ColmBhandal Sep 8, 2023
1a6748e
MicroK8s casing
ColmBhandal Sep 8, 2023
17d52ab
remove tweaks note
ColmBhandal Sep 8, 2023
b79c560
Patience tweak
ColmBhandal Sep 8, 2023
466649c
remove 5 mins
ColmBhandal Sep 8, 2023
b5aed88
Some spelling fixes
ColmBhandal Sep 8, 2023
f033bbd
Spelling
ColmBhandal Sep 11, 2023
128b029
Final spell check
ColmBhandal Sep 11, 2023
3ce6064
wordlist update
ColmBhandal Sep 11, 2023
240d2a0
wordlist update
ColmBhandal Sep 11, 2023
21bd32d
wordlist
ColmBhandal Sep 11, 2023
43b8f4a
Prereq sect
ColmBhandal Sep 11, 2023
c2f35b5
Fix links
ColmBhandal Sep 11, 2023
a6ebc26
Merge branch 'main' into KF-4175-docs-site
ColmBhandal Sep 11, 2023
f31d1ef
Merge branch 'main' into KF-4175-docs-site
ColmBhandal Sep 13, 2023
64b9655
Published versions
ColmBhandal Sep 14, 2023
cd45c2a
Update docs/how-to/deploy-ck8s-aws.rst
ColmBhandal Sep 14, 2023
c295b6b
Version tables rendering
ColmBhandal Sep 14, 2023
b716d0b
TensorBoard
ColmBhandal Sep 14, 2023
079df49
Wordlist spellcheck
ColmBhandal Sep 14, 2023
5711feb
stabe typo
ColmBhandal Sep 14, 2023
af8d053
Table spacing
ColmBhandal Sep 14, 2023
bc4277f
reword
ColmBhandal Sep 14, 2023
2fee4f0
Correct apostrophe
ColmBhandal Sep 14, 2023
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
16 changes: 16 additions & 0 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Main Documentation Checks

on:
- push
- pull_request
- workflow_dispatch

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
documentation-checks:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
with:
working-directory: 'docs'
8 changes: 8 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*env*/
.sphinx/venv
.sphinx/warnings.txt
.sphinx/.wordlist.dic
_build
.DS_Store
__pycache__
.idea/
27 changes: 27 additions & 0 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: docs/conf.py
fail_on_warning: true

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats:
- pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/.sphinx/requirements.txt
189 changes: 189 additions & 0 deletions docs/.sphinx/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
/** Fix the font weight (300 for normal, 400 for slightly bold) **/

div.page, h1, h2, h3, h4, h5, h6, .sidebar-tree .current-page>.reference, button, input, optgroup, select, textarea, th.head {
font-weight: 300
}

.toc-tree li.scroll-current>.reference, dl.glossary dt, dl.simple dt, dl:not([class]) dt {
font-weight: 400;
}

/** Table styling **/

th.head {
text-transform: uppercase;
font-size: var(--font-size--small);
}

table.docutils {
border: 0;
box-shadow: none;
width:100%;
}

table.docutils td, table.docutils th, table.docutils td:last-child, table.docutils th:last-child, table.docutils td:first-child, table.docutils th:first-child {
border-right: none;
border-left: none;
}

/* Allow to centre text horizontally in table data cells */
table.align-center {
text-align: center !important;
}

/** No rounded corners **/

.admonition, code.literal, .sphinx-tabs-tab, .sphinx-tabs-panel, .highlight {
border-radius: 0;
}

/** Admonition styling **/

.admonition {
border-top: 1px solid #d9d9d9;
border-right: 1px solid #d9d9d9;
border-bottom: 1px solid #d9d9d9;
}

/** Color for the "copy link" symbol next to headings **/

a.headerlink {
color: var(--color-brand-primary);
}

/** Line to the left of the current navigation entry **/

.sidebar-tree li.current-page {
border-left: 2px solid var(--color-brand-primary);
}

/** Some tweaks for issue #16 **/

[role="tablist"] {
border-bottom: 1px solid var(--color-sidebar-item-background--hover);
}

.sphinx-tabs-tab[aria-selected="true"] {
border: 0;
border-bottom: 2px solid var(--color-brand-primary);
background-color: var(--color-sidebar-item-background--current);
font-weight:300;
}

.sphinx-tabs-tab{
color: var(--color-brand-primary);
font-weight:300;
}

.sphinx-tabs-panel {
border: 0;
border-bottom: 1px solid var(--color-sidebar-item-background--hover);
background: var(--color-background-primary);
}

button.sphinx-tabs-tab:hover {
background-color: var(--color-sidebar-item-background--hover);
}

/** Custom classes to fix scrolling in tables by decreasing the
font size or breaking certain columns.
Specify the classes in the Markdown file with, for example:
```{rst-class} break-col-4 min-width-4-8
```
**/

table.dec-font-size {
font-size: smaller;
}
table.break-col-1 td.text-left:first-child {
word-break: break-word;
}
table.break-col-4 td.text-left:nth-child(4) {
word-break: break-word;
}
table.min-width-1-15 td.text-left:first-child {
min-width: 15em;
}
table.min-width-4-8 td.text-left:nth-child(4) {
min-width: 8em;
}

/** Underline for abbreviations **/

abbr[title] {
text-decoration: underline solid #cdcdcd;
}

/** Use the same style for right-details as for left-details **/
.bottom-of-page .right-details {
font-size: var(--font-size--small);
display: block;
}

/** Version switcher */
button.version_select {
color: var(--color-foreground-primary);
background-color: var(--color-toc-background);
padding: 5px 10px;
border: none;
}

.version_select:hover, .version_select:focus {
background-color: var(--color-sidebar-item-background--hover);
}

.version_dropdown {
position: relative;
display: inline-block;
text-align: right;
font-size: var(--sidebar-item-font-size);
}

.available_versions {
display: none;
position: absolute;
right: 0px;
background-color: var(--color-toc-background);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 11;
}

.available_versions a {
color: var(--color-foreground-primary);
padding: 12px 16px;
text-decoration: none;
display: block;
}

.available_versions a:hover {background-color: var(--color-sidebar-item-background--current)}

.show {display:block;}

/** Fix for nested numbered list - the nested list is lettered **/
ol.arabic ol.arabic {
list-style: lower-alpha;
}

/** Make expandable sections look like links **/
details summary {
color: var(--color-link);
}

/** Fix the styling of the version box for readthedocs **/

#furo-readthedocs-versions .rst-versions, #furo-readthedocs-versions .rst-current-version, #furo-readthedocs-versions:focus-within .rst-current-version, #furo-readthedocs-versions:hover .rst-current-version {
background: var(--color-sidebar-item-background--hover);
}

.rst-versions .rst-other-versions dd a {
color: var(--color-link);
}

#furo-readthedocs-versions:focus-within .rst-current-version .fa-book, #furo-readthedocs-versions:hover .rst-current-version .fa-book, .rst-versions .rst-other-versions {
color: var(--color-sidebar-link-text);
}

.rst-versions .rst-current-version {
color: var(--color-version-popup);
font-weight: bolder;
}
Binary file added docs/.sphinx/_static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/.sphinx/_static/github_issue_links.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.github-issue-link-container {
padding-right: 0.5rem;
}
.github-issue-link {
font-size: var(--font-size--small);
font-weight: bold;
background-color: #DD4814;
padding: 13px 23px;
text-decoration: none;
}
.github-issue-link:link {
color: #FFFFFF;
}
.github-issue-link:visited {
color: #FFFFFF
}
.muted-link.github-issue-link:hover {
color: #FFFFFF;
text-decoration: underline;
}
.github-issue-link:active {
color: #FFFFFF;
text-decoration: underline;
}
26 changes: 26 additions & 0 deletions docs/.sphinx/_static/github_issue_links.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
window.onload = function() {
const link = document.createElement("a");
link.classList.add("muted-link");
link.classList.add("github-issue-link");
link.text = "Give feedback";
link.href = (
github_url
+ "/issues/new?"
+ "title=docs%3A+TYPE+YOUR+QUESTION+HERE"
+ "&body=*Please describe the question or issue you're facing with "
+ `"${document.title}"`
+ ".*"
+ "%0A%0A%0A%0A%0A"
+ "---"
+ "%0A"
+ `*Reported+from%3A+${location.href}*`
);
link.target = "_blank";

const div = document.createElement("div");
div.classList.add("github-issue-link-container");
div.append(link)

const container = document.querySelector(".article-container > .content-icon-container");
container.prepend(div);
};
10 changes: 10 additions & 0 deletions docs/.sphinx/_static/header-nav.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$(document).ready(function() {
$(document).on("click", function () {
$(".more-links-dropdown").hide();
});

$('.nav-more-links').click(function(event) {
$('.more-links-dropdown').toggle();
event.stopPropagation();
});
})
Loading
Loading