Skip to content

Commit d76396b

Browse files
authored
Merge pull request #57 from coryschwartz/feat/docs
initial readthedocs
2 parents 95db32c + b29942c commit d76396b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+18745
-0
lines changed

.readthedocs.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-20.04
11+
tools:
12+
golang: "1.18"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: docs/conf.py
17+
18+
# If using Sphinx, optionally build your docs in additional formats such as PDF
19+
# formats:
20+
# - pdf
21+
22+
# Optionally declare the Python requirements required to build your docs
23+
# python:
24+
# install:
25+
# - requirements: docs/requirements.txt

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2.06 MB
Binary file not shown.
5.43 KB
Binary file not shown.
5.46 KB
Binary file not shown.

docs/build/doctrees/index.doctree

5.71 KB
Binary file not shown.
8.46 KB
Binary file not shown.

docs/build/html/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 2723b11e89b02bc2c195e1cc24e85eee
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Getting Started
2+
===================================
3+
4+
This document explains methods that can be used to install the operator onto an existing kubernetes cluster.
5+
6+
No matter which method you choose, the same operator will be installed.
7+
8+
**With helm**
9+
::
10+
helm install ipfs-operator ./helm/ipfs-operator
11+
12+
**manually**
13+
::
14+
make install
15+
16+
17+
18+
Confirm that the operator is installed.
19+
20+
When the operator is installed, a new namespace will be created. Verify the operator is running in the `ipfs-operator` namespace.
21+
22+
Once the operator is installed, you can proceed with installing your first cluster.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Hacking
2+
===================================
3+
4+
Have you have found a bug in the operator or do you have an additional feature? That's great! Here are some tips.
5+
6+
7+
Running your own images.
8+
9+
If you have edited the code, you would like to install it in your own cluster, you will first need an account on an image host like dockerhub. Once you have this, you can build, push, and install the image using the **IMG** environment variable
10+
::
11+
export IMG=your-image-repo/ipfs-operator:version
12+
make docker-build
13+
make docker-push
14+
make install
15+
16+
17+
Creating a pull request
18+
19+
Pull requests are welcome and encouraged. Please make pull reqeusts against https://github.com/redhat-et/ipfs-operator.

0 commit comments

Comments
 (0)