Skip to content
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: 10 additions & 2 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Checkout repository with submodules
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Initialize and update submodules
run: git submodule update --init --recursive
# This external action cares about all the sphinx stuff
- uses: ammaraskar/sphinx-action@4.3.2
- name: Build project
uses: ammaraskar/sphinx-action@4.3.2
with:
build-command: "sphinx-build -b linkcheck source/ build/"
docs-folder: "docs/"
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "includes"]
path = includes
url = https://github.com/chargebyte/chargebyte-docs.git
branch = shared-docs
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ python:

sphinx:
configuration: docs/source/conf.py

submodules:
include: all #includes all git-submodules
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Contents:

- Charge Control C User Guide

Repo initialization:
-------------------
This repository is using git submodules to share documents between the user guides.
After cloning of the project please execute the following command:

git submodule update --init --force --remote


Building the documentation locally:
-----------------------------------
Expand Down
1 change: 1 addition & 0 deletions includes
Submodule includes added at 770a83
52 changes: 0 additions & 52 deletions includes/_static/files/toolchain.cmake

This file was deleted.

Binary file removed includes/_static/images/cbenergy/discover.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/home.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/manual.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/setup-final.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/setup-skip.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/setup.png
Binary file not shown.
Binary file removed includes/_static/images/cbenergy/user.png
Binary file not shown.
4 changes: 0 additions & 4 deletions includes/_static/images/mountpoints.svg

This file was deleted.

171 changes: 0 additions & 171 deletions includes/cb_energy.inc

This file was deleted.

71 changes: 0 additions & 71 deletions includes/connecting.inc

This file was deleted.

Loading
Loading