-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into models_documentation
- Loading branch information
Showing
47 changed files
with
1,082 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,6 @@ org.sonarlint.eclipse.core.prefs | |
|
||
# Log files | ||
powsybl.log | ||
|
||
# Generated readthedocs pages | ||
build-docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
|
||
clean: | ||
@echo "Removing $(SOURCEDIR)/reference/api" | ||
@rm -rf "$(SOURCEDIR)/reference/api" | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* The following code ensures font is not too big (Furo theme can make font too big on large screens) */ | ||
@media(min-width:97em) { | ||
html { | ||
font-size: 100% | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<!-- | ||
~ Copyright (c) 2024, RTE (http://www.rte-france.com) | ||
~ This Source Code Form is subject to the terms of the Mozilla Public | ||
~ License, v. 2.0. If a copy of the MPL was not distributed with this | ||
~ file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
~ SPDX-License-Identifier: MPL-2.0 | ||
--> | ||
|
||
{% extends "furo/page.html" %} | ||
|
||
{% block footer %} | ||
<div class="related-pages"> | ||
{% if next -%} | ||
<a class="next-page" href="{{ next.link }}"> | ||
<div class="page-info"> | ||
<div class="context"> | ||
<span>{{ _("Next") }}</span> | ||
</div> | ||
<div class="title">{{ next.title }}</div> | ||
</div> | ||
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg> | ||
</a> | ||
{%- endif %} | ||
{% if prev -%} | ||
<a class="prev-page" href="{{ prev.link }}"> | ||
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg> | ||
<div class="page-info"> | ||
<div class="context"> | ||
<span>{{ _("Previous") }}</span> | ||
</div> | ||
{% if prev.link == pathto(master_doc) %} | ||
<div class="title">{{ _("Home") }}</div> | ||
{% else %} | ||
<div class="title">{{ prev.title }}</div> | ||
{% endif %} | ||
</div> | ||
</a> | ||
{%- endif %} | ||
</div> | ||
<div class="bottom-of-page"> | ||
<div class="left-details"> | ||
{%- if show_copyright %} | ||
<div class="copyright"> | ||
{%- if hasdoc('copyright_year') %} | ||
{% trans path=pathto('copyright_year'), copyright_year=copyright_year|e -%} | ||
<p class="text-justify"> | ||
<a href="{{ path }}">Copyright</a> © {{ copyright_year }}Authors of <a href="{{ github_repository }}">PowSyBl documentation</a>. | ||
Unless otherwise indicated, content is licensed under <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>. | ||
</p> | ||
<p class="text-justify"> | ||
The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The | ||
Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage">Trademark | ||
Usage</a> page. Linux is a registered trademark of Linus Torvalds. | ||
</p> | ||
{%- endtrans %} | ||
{%- else %} | ||
{% trans copyright=copyright|e -%} | ||
<p class="text-justify"> | ||
Copyright © {{ copyright_year }} Authors of <a href="{{ github_repository }}">PowSyBl documentation</a>. | ||
Unless otherwise indicated, content is licensed under <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>. | ||
</p> | ||
<p class="text-justify"> | ||
The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The | ||
Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage">Trademark | ||
Usage</a> page. Linux is a registered trademark of Linus Torvalds. | ||
</p> | ||
{%- endtrans %} | ||
{%- endif %} | ||
</div> | ||
{%- endif %} | ||
{% trans %}Made with {% endtrans -%} | ||
{%- if show_sphinx -%} | ||
{% trans %}<a href="https://www.sphinx-doc.org/">Sphinx</a> and {% endtrans -%} | ||
<a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s | ||
{% endif -%} | ||
{% trans %} | ||
<a href="https://github.com/pradyunsg/furo">Furo</a> | ||
{% endtrans %} | ||
{%- if last_updated -%} | ||
<div class="last-updated"> | ||
{% trans last_updated=last_updated|e -%} | ||
Last updated on {{ last_updated }} | ||
{%- endtrans -%} | ||
</div> | ||
{%- endif %} | ||
</div> | ||
<div class="right-details"> | ||
{% if theme_footer_icons or READTHEDOCS -%} | ||
<div class="icons"> | ||
{% if theme_footer_icons -%} | ||
{% for icon_dict in theme_footer_icons -%} | ||
<a class="muted-link {{ icon_dict.class }}" href="{{ icon_dict.url }}" aria-label="{{ icon_dict.name }}"> | ||
{{- icon_dict.html -}} | ||
</a> | ||
{% endfor %} | ||
{%- endif %} | ||
</div> | ||
{%- endif %} | ||
</div> | ||
</div> | ||
{% endblock footer %} |
Oops, something went wrong.