Skip to content

Commit

Permalink
docs: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hartym committed Apr 1, 2024
1 parent ee055da commit 5478957
Show file tree
Hide file tree
Showing 79 changed files with 231 additions and 233 deletions.
30 changes: 30 additions & 0 deletions docs/_static/css/harp.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.jumbo-toc table {
border: 2px solid #334155;
}

.jumbo-toc table td {
border: 2px solid #334155;
vertical-align: top;
}

.jumbo-toc table td > p > a:first-child {
font-size: 1.2em;
font-weight: bold;
}

.jumbo-toc table ul {
margin: 0;
padding: 0;
list-style-type: none;
font-size: 0.9em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}

.jumbo-toc table ul li {
flex-grow: 1;
flex-basis: auto;
text-align: center;
}
9 changes: 9 additions & 0 deletions docs/apps/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Applications
============

.. toctree::
:maxdepth: 1

dashboard/index
proxy/index
sqlalchemy_storage/index
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
html_theme = "furo"
html_static_path = ["_static"]
html_js_files = ["js/links-target-blank.js"]
html_css_files = ["css/harp.css"]
html_baseurl = "https://msqd.github.io/harp/"

html_sidebars = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions docs/contribute/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Contributor's Guide
===================

.. toctree::
:maxdepth: 2

introduction
extending
applications/index
storage/index
../apps/dashboard/development/index

Releases, Changes and Roadmap
:::::::::::::::::::::::::::::

.. toctree::
:maxdepth: 2

changelogs/index
roadmap
ideas
6 changes: 6 additions & 0 deletions docs/contribute/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Introduction
============

The Contributor's Guide is there both to help you contribute to harp, but also to help you extend harp with your own
features. As most of the core features are implemented using applications (harp's extensions), this is a very good
starting point to write your own, even if you do not plan to publish them.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/develop/customize.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Customize
=========

Most features can be customized using configuration options.

In this section, we'll go through the programmatic configuration options.

.. note::

You can read about the declarative configuration options in the
:doc:`Operator's Guide Configure </operate/configure/index>` section.
8 changes: 8 additions & 0 deletions docs/develop/extend.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extend
======

Extending harp is as simple as writing an harp application (which is a standard python package with some additional
instrumentation) and loading it within your configuration.

To wrtie your own applications, please refer to the
:doc:`Contributor's Guide Applications section </contribute/applications/index>`.
9 changes: 9 additions & 0 deletions docs/develop/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Developer's Guide
=================

.. toctree::
:maxdepth: 2

run
customize
extend
8 changes: 8 additions & 0 deletions docs/develop/run.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Run
===

.. note::

This document describes the options to run the application on your local machine. Although the topic is similar, if
you're looking for a guide on how to deploy the application to a server, please refer to the
:doc:`runtime section of the operator's guide <../operator/runtime>`.
4 changes: 0 additions & 4 deletions docs/development/dependencies.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/development/index.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/features/agregation-and-splitting.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/features/alerting.rst

This file was deleted.

75 changes: 0 additions & 75 deletions docs/features/basics.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/features/batching.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/features/caching.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/features/circuit-breaker.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/configuration.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/features/dashboard.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/features/debugging.rst

This file was deleted.

19 changes: 0 additions & 19 deletions docs/features/http-proxy.rst

This file was deleted.

Binary file removed docs/features/images/http-proxy-schema.png
Binary file not shown.
55 changes: 0 additions & 55 deletions docs/features/index.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/intelligence.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/normalization-and-typing.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/prefetching.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/retrying.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/rewriting.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/features/routing.rst

This file was deleted.

Loading

0 comments on commit 5478957

Please sign in to comment.