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

Everest/charge som add git submodules #42

Merged
merged 5 commits into from
Mar 17, 2025
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/[email protected]
- name: Build project
uses: ammaraskar/[email protected]
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 SOM 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.

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

This file was deleted.

Loading
Loading