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

Prepare initial release #3

Merged
merged 6 commits into from
Jul 31, 2023
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
12 changes: 12 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=======
Changes
=======


Unreleased
==========

- Consolidate ``cloud-reference``, ``cloud-howtos``, and ``cloud-tutorials``
- Adjust links to accompany renaming to ``cloud-docs``
- Adjust intersphinx references to accompany consolidation into single repository
- Rename top-level directories to `howtos`, `reference`, and `tutorials`
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==================
CrateDB Cloud Docs
==================
===========================
CrateDB Cloud Documentation
===========================

|ci| |rtd| |build|

Expand Down Expand Up @@ -34,16 +34,16 @@ Looking for more help?
.. _support channels: https://crate.io/support/


.. |ci| image:: https://github.com/crate/cloud-reference/actions/workflows/docs.yml/badge.svg
.. |ci| image:: https://github.com/crate/cloud-docs/actions/workflows/docs.yml/badge.svg
:alt: CI status
:scale: 100%
:target: https://github.com/crate/cloud-reference/actions/workflows/docs.yml
:target: https://github.com/crate/cloud-docs/actions/workflows/docs.yml

.. |rtd| image:: https://readthedocs.org/projects/crate-cloud-reference/badge/?version=latest
.. |rtd| image:: https://readthedocs.org/projects/crate-cloud/badge/?version=latest
:alt: Read The Docs status
:scale: 100%
:target: https://crate-cloud-reference.readthedocs.io/en/latest/?badge=latest
:target: https://crate-cloud.readthedocs.io/en/latest/?badge=latest

.. |build| image:: https://img.shields.io/endpoint.svg?color=blue&url=https%3A%2F%2Fraw.githubusercontent.com%2Fcrate%2Fcloud-reference%2Fmaster%2Fdocs%2Fbuild.json
.. |build| image:: https://img.shields.io/endpoint.svg?color=blue&url=https%3A%2F%2Fraw.githubusercontent.com%2Fcrate%2Fcloud-docs%2Fmain%2Fdocs%2Fbuild.json
:alt: Build version
:target: https://github.com/crate/cloud-reference/blob/master/docs/build.json
:target: https://github.com/crate/cloud-docs/blob/main/docs/build.json
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from crate.theme.rtd.conf.cloud_reference import *
from crate.theme.rtd.conf.cloud import *

linkcheck_ignore = [
"https://eks1.eu-west-1.aws.cratedb.cloud",
Expand Down
4 changes: 2 additions & 2 deletions docs/cloud-howtos/add-users.rst → docs/howtos/add-users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add users

This is a quick guide on how to add users to organizations and
how to manage their privileges. This information can also be found in the
CrateDB Cloud Console :ref:`Overview <cloud-reference:overview>` but is
CrateDB Cloud Console :ref:`Overview <overview>` but is
presented here separately for ease of use.

.. rubric:: Table of contents
Expand All @@ -31,7 +31,7 @@ New users can be added to an organization by going to the Users tab in the
left-hand menu. To add and manage users of the organization, you must be the
organization admin. (For more information on user roles and associated
privileges, see our documentation on
:ref:`user roles <cloud-reference:user-roles>`.)
:ref:`user roles <user-roles>`.)

.. image:: ../_assets/img/users-overview.png
:alt: Cloud Console users overview
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Microsoft Azure, the other is for a cluster created through AWS. For Azure,
there are in turn two methods: via the CrateDB Cloud Console and through the
Azure Portal. Each are outlined in the Azure section.

Although the :ref:`general documentation <cloud-reference:overview>` for the
Although the :ref:`general documentation <overview>` for the
CrateDB Cloud Console explains how you can delete a cluster specifically
within the Console, this tutorial provides a step-by-step guide for *all*
methods of deleting a CrateDB Cloud cluster. This is to make the process more
Expand All @@ -32,7 +32,7 @@ Microsoft Azure
===============

If you have followed the steps of our :ref:`tutorial on how to set up a cluster
from scratch via Microsoft Azure <cloud-tutorials:signup-azure-to-cluster>`,
from scratch via Microsoft Azure <signup-azure-to-cluster>`,
you should have one running. If you created your CrateDB Cloud cluster
via the Microsoft Azure offering, you have two different ways to delete a
cluster once it has been created. The first is through the CrateDB Cloud
Expand All @@ -49,7 +49,7 @@ The easiest and preferred way to delete a cluster is via the CrateDB Cloud
Console. Make sure you are logged in to the Console with a user that has
admin access in the organization where your cluster is deployed. For more on
what that means, please see our documentation on :ref:`user roles
<cloud-reference:user-roles>`.
<user-roles>`.

First, you need to select the cluster in question. To do this, we need to
access the Clusters page in the left-hand sidebar. There you should see a list
Expand Down
10 changes: 5 additions & 5 deletions docs/cloud-howtos/index.rst → docs/howtos/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ documentation for :ref:`Croud <cloud-cli:index>`, the CLI for CrateDB Cloud.
.. NOTE::

This resource assumes you know the basics. If not, check out the
:ref:`tutorials <cloud-tutorials:index>` section for how to get started.
Additionally, the :ref:`reference <cloud-reference:index>` section contains
a :ref:`glossary <cloud-reference:glossary>` as well as an
:ref:`overview <cloud-reference:overview>` of the CrateDB Cloud Console to
:ref:`tutorials <cloud-tutorials-index>` section for how to get started.
Additionally, the :ref:`reference <cloud-reference-index>` section contains
a :ref:`glossary <glossary>` as well as an
:ref:`overview <overview>` of the CrateDB Cloud Console to
give you further information.

.. SEEALSO::
Expand All @@ -48,4 +48,4 @@ documentation for :ref:`Croud <cloud-cli:index>`, the CLI for CrateDB Cloud.
private-endpoints


.. _GitHub: https://github.com/crate/cloud-howtos/
.. _GitHub: https://github.com/crate/cloud-docs/
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CrateDB handles snapshots can be found in the CrateDB documentation about
:ref:`snapshots <crate-reference:snapshot-restore>`.

You may also want to read our reference on :ref:`the backup page on the
CrateDB Cloud Console <cloud-reference:overview-cluster-backups>`.
CrateDB Cloud Console <overview-cluster-backups>`.

.. rubric:: Table of contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This guide will provide a quick overview of how to suspend your cluster using
the CrateDB Cloud Console. For the purposes of this guide, it is assumed that
you have a cluster up and running and can access the Console. If not, please
refer to the :ref:`tutorial on how to deploy a cluster for the first time
<cloud-tutorials:cluster-deployment>`.
<cluster-deployment>`.

.. rubric:: Table of contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data in real-time.
For the purposes of this guide, it is assumed that you
have a cluster up and running and can access the Console. If not, please refer
to the :ref:`tutorial on how to deploy a cluster for the first time
<cloud-tutorials:cluster-deployment>`.
<cluster-deployment>`.

.. rubric:: Table of contents

Expand Down
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ in the tutorials below.
.. toctree::
:maxdepth: 4

cloud-reference/index
cloud-tutorials/index
cloud-howtos/index
reference/index
tutorials/index
howtos/index

.. _CrateDB Cloud: https://crate.io/products/cratedb-cloud/
.. _CrateDB: https://crate.io/products/cratedb/
.. _Croud CLI: https://crate.io/docs/cloud/cli/en/latest/
.. _GitHub: https://github.com/crate/cloud-docs
.. _How-To Guides: https://crate.io/docs/cloud/howtos/en/latest/
.. _Reference: https://crate.io/docs/cloud/reference/en/latest/
.. _How-To Guides: https://crate.io/docs/cloud/en/latest/howtos/
.. _Reference: https://crate.io/docs/cloud/en/latest/reference/
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Invoicing
Invoicing is handled variously depending on which deployment method you use.
If you deploy your cluster directly via the CrateDB Cloud Console, you will be
invoiced at the email address you provided on :ref:`signing up with CrateDB
Cloud <cloud-tutorials:sign-up>`.
Cloud <sign-up>`.

If you use one of the marketplace offers, the invoicing is handled by the
marketplace provider in question and will be part of your general invoicing for
Expand Down Expand Up @@ -114,7 +114,7 @@ Payment processing
==================

For clusters deployed in the :ref:`regular way
<cloud-tutorials:cluster-deployment-stripe>`, using our CrateDB Console cluster
<cluster-deployment-stripe>`, using our CrateDB Console cluster
deployment route, payment processing is handled by `Stripe`_. For clusters
deployed through the `Microsoft Azure Marketplace`_ and the `AWS Marketplace`_,
payment is handled by Stripe on behalf of the respective marketplaces.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ NoSQL with the power and simplicity of standard SQL.

.. _CrateDB Cloud: https://crate.io/products/cratedb-cloud/
.. _CrateDB: https://crate.io/products/cratedb/
.. _GitHub: https://github.com/crate/cloud-reference/
.. _GitHub: https://github.com/crate/cloud-docs/
.. _Tutorials: https://crate.io/docs/cloud/tutorials/en/latest/
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ This plan is aimed at new users who want to test and evaluate CrateDB Cloud
and is perpetually free to use. Every user can deploy one free tier cluster
in their organization without adding a payment method. This plan
also doesn't consume any
:ref:`Free Credit <cloud-tutorials:free-trial-budget>` that you may have
:ref:`Free Credit <free-trial-budget>` that you may have
available. They are limited to one node with 2 CPUs, 2 GiB of memory, and 4
GiB of storage.

Expand Down Expand Up @@ -122,9 +122,8 @@ scaling up/down:
- Usage is billed based on consumption
- Billing is done in $0.001 increments for the compute + storage usage

For details visit :ref:`Azure
<cloud-tutorials:signup-azure-to-cluster>`, or :ref:`AWS
<cloud-tutorials:signup-aws-to-cluster>` marketplace deployment tutorials.
For details visit :ref:`Azure <signup-azure-to-cluster>`, or :ref:`AWS
<signup-aws-to-cluster>` marketplace deployment tutorials.

.. _subscription-plans-contracts:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ Regular database user

Next to the ``crate`` user there is the regular database user, created as part
of the CrateDB Cloud cluster deployment wizard when deploying a cluster
through :ref:`AWS <cloud-tutorials:signup-aws-to-cluster>` or
:ref:`Azure <cloud-tutorials:signup-azure-to-cluster>`.
through :ref:`AWS <signup-aws-to-cluster>` or
:ref:`Azure <signup-azure-to-cluster>`.

Because the regular database user has `AL privileges`_, there are certain
operations that they cannot perform. As of CrateDB 4.2.1, the list of such
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
crate-docs-theme
git+https://github.com/crate/crate-docs-theme@amo/adjust-leftnav
# crate-docs-theme
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ If this looks interesting to you, go to `Cloud Console`_ and give it a try!

.. _and Prometheus: https://grafana.com/docs/grafana/latest/datasources/prometheus/
.. _Cloud Console: https://console.cratedb.cloud/?utm_campaign=2022-Q3-WS-Developer-Motion&utm_source=docs
.. _Cluster performance dashboard: https://raw.githubusercontent.com/crate/cloud-tutorials/master/docs/_extra/cratedb-edge-cluster-dashboard.json
.. _Cluster performance dashboard: https://github.com/crate/cloud-docs/raw/main/docs/_extra/cratedb-edge-cluster-dashboard.json
.. _for Loki: https://grafana.com/docs/loki/latest/
.. _Grafana: https://grafana.com/
.. _Loki: https://grafana.com/oss/loki/
.. _Logs monitoring dashboard: https://raw.githubusercontent.com/crate/cloud-tutorials/master/docs/_extra/cratedb-edge-logs-dashboard.json
.. _Logs monitoring dashboard: https://github.com/crate/cloud-docs/raw/main/docs/_extra/cratedb-edge-logs-dashboard.json
.. _Prometheus: https://grafana.com/oss/prometheus/
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ install.
The ``<token>`` in question is the token you receive from the CrateDB Console
Edge region field in the Regions tab of the Organization Overview. For more
information on this section of the CrateDB Console, refer to our :ref:`CrateDB
Cloud Console overview <cloud-reference:overview-org-regions>`.
Cloud Console overview <overview-org-regions>`.

With this, you should be ready to use CrateDB Edge via Microk8s.

Expand Down Expand Up @@ -246,7 +246,7 @@ install.
The ``<token>`` in question is the token you receive from the CrateDB Console
Edge region field in the Regions tab of the Organization Overview. For more
information on this section of the CrateDB Console, refer to our :ref:`CrateDB
Cloud Console overview <cloud-reference:overview-org-regions>`.
Cloud Console overview <overview-org-regions>`.

With this, you should be ready to use CrateDB Edge via K3S.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ in the tutorials below.
.. _CrateDB Cloud: https://crate.io/products/cratedb-cloud/
.. _CrateDB: https://crate.io/products/cratedb/
.. _Croud CLI: https://crate.io/docs/cloud/cli/en/latest/
.. _GitHub: https://github.com/crate/cloud-tutorials
.. _GitHub: https://github.com/crate/cloud-docs
.. _How-To Guides: https://crate.io/docs/cloud/howtos/en/latest/
.. _Reference: https://crate.io/docs/cloud/reference/en/latest/
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Create an organization

To get the credit, simply create an organization. For the detailed
instructions, see :ref:`Create a new organization how-to
<cloud-howtos:create-org>`.
<create-org>`.

Enter the desired name for the organization in the field and click *Create
organization*. Once this is done, you will be returned to the Clusters
Expand Down
File renamed without changes.