Skip to content

Commit 4b68ea3

Browse files
committed
Setup Sphinx build and layout
1 parent 925452e commit 4b68ea3

File tree

12 files changed

+47
-21
lines changed

12 files changed

+47
-21
lines changed
File renamed without changes.

observability/docs/conf.py renamed to docs/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
#
33
# For the full list of built-in configuration values, see the documentation:
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5+
import os
6+
import sys
7+
sys.path.insert(0, os.path.abspath("../observability/docs"))
58

9+
print("Hello")
610
# -- Project information -----------------------------------------------------
711
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
812

9-
project = 'Observability'
13+
project = 'CogStack Platform Toolkit'
1014
copyright = '2025, CogStack Org'
1115
author = 'CogStack Org'
1216
release = 'latest'
17+
html_title = "CogStack Platform Toolkit"
1318

1419
# -- General configuration ---------------------------------------------------
1520
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -28,5 +33,5 @@
2833
# -- Options for HTML output -------------------------------------------------
2934
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3035

31-
html_theme = 'sphinx_rtd_theme'
36+
html_theme = "furo"
3237
html_static_path = ['_static']

docs/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
# Cogstack Platform Toolit
3+
4+
This project provides utilities for running Cogstack in production
5+
6+
## Features
7+
8+
- [Observability](observability/_index.md)
9+
10+
```{toctree}
11+
:hidden:
12+
13+
observability/_index
14+
15+
```
16+
17+
File renamed without changes.
Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
# Cogstack Observability Stack
1+
# Cogstack Observability
32

43
This project provides observability of a cogstack deployment.
54

@@ -10,19 +9,13 @@ It provides the following features:
109
- Blackbox Probing of services to find service level indicators of uptime and latency
1110
- A working inventory of what is running where
1211

13-
## Contents
1412

1513
See the [Quickstart](./get-started/quickstart.md) to see how to easily run this stack.
1614

17-
1815
```{toctree}
1916
:maxdepth: 2
20-
get-started/quickstart.md
21-
get-started/userguide-tutorial.md
22-
```
2317
24-
## Indices and tables
18+
get-started/_index
2519
26-
* :ref:`genindex`
27-
* :ref:`modindex`
28-
* :ref:`search`
20+
21+
```
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Getting Started
2+
3+
```{toctree}
4+
:maxdepth: 2
5+
quickstart
6+
setup-tutorial
7+
userguide-tutorial
8+
```

observability/docs/get-started/quickstart-manual.md renamed to docs/observability/get-started/quickstart-manual.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
## Manual Quickstart
1+
# Manual Quickstart
32

43
The quickstart page uses a script to setup the folders for you.
54

@@ -11,7 +10,8 @@ Create the necessary directory structure
1110
mkdir -p observability-simple/prometheus/scrape-configs/probers
1211
mkdir -p observability-simple/prometheus/scrape-configs/exporters
1312
```
14-
13+
Something
14+
1515

1616
Download these two files from github, and place in the right folder
1717

File renamed without changes.

observability/docs/get-started/setup-tutorial.md renamed to docs/observability/get-started/setup-tutorial.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
2-
This page
3-
4-
1+
# Production Setup
2+
This page shows how to setup the stack for production
53

64
## Run the Observability Stack using Docker Compose
75

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Dashboard User Guide
2+
3+
This is my dashboard user guide

0 commit comments

Comments
 (0)