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
33 changes: 23 additions & 10 deletions doc/source/_templates/sidebartoc.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
<aside id="left-sidebar" class="docs-sidebar">
<div class="docs-sidebar-toc collapse" aria-label="Docs navigation" id="docs-sidebar-nav">
{%- if theme_display_global_toc_section %}
<div
class="docs-sidebar-toc collapse"
aria-label="Docs navigation"
id="docs-sidebar-nav"
>
{%- if theme_display_global_toc_section %}
<div class="docs-sidebar-section" id="table-of-contents">
<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>
{%- if theme_sidebar_mode == 'toc' %}
{{ toc }}
{%- elif theme_sidebar_mode == 'toctree' %}
{{ toctree(maxdepth=4, includehidden=True, titles_only=true) }}
{%- endif %}
<script>
if (window.location.hostname === "docs.otc.t-systems.com") {
document.write(
'<a href="/opentelekomcloud-functiongraph-java/{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>'
);
} else {
document.write(
'<a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>'
);
}
</script>

{%- if theme_sidebar_mode == 'toc' %} {{ toc }} {%- elif
theme_sidebar_mode == 'toctree' %} {{ toctree(maxdepth=4,
includehidden=True, titles_only=true) }} {%- endif %}
</div>
{%- endif %}
{%- endif %}
</div>
</aside>
</aside>
2 changes: 1 addition & 1 deletion samples-doc/doc-sample-springboot-2.x-rest/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/opt/function/runtime/java11/rtsp/jre/bin/java \
-Dfile.encoding=utf-8 \
-cp $RUNTIME_CODE_ROOT/functiongraph-samples-doc-springboot-2x.jar:$RUNTIME_CODE_ROOT/lib/* \
-cp $RUNTIME_CODE_ROOT/opentelekomcloud-functiongraph-java-samples-doc-springboot-2x.jar:$RUNTIME_CODE_ROOT/lib/* \
com.opentelekomcloud.samples.springboot.RestServiceApplication
2 changes: 1 addition & 1 deletion samples-doc/doc-sample-springboot-3.x-rest/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/opt/function/runtime/java17/rtsp/jre/bin/java \
-Dfile.encoding=utf-8 \
-cp $RUNTIME_CODE_ROOT/functiongraph-samples-doc-springboot-3x.jar:$RUNTIME_CODE_ROOT/lib/* \
-cp $RUNTIME_CODE_ROOT/opentelekomcloud-functiongraph-java-samples-doc-springboot-3x.jar:$RUNTIME_CODE_ROOT/lib/* \
com.opentelekomcloud.samples.springboot.RestServiceApplication
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "function_handler_name" {
# name of zip file to deploy, generated by 'mvn package' command
variable "zip_file_name" {
type = string
default = "functiongraph-samples-doc-springboot-3x-0.0.1-SNAPSHOT.zip"
default = "opentelekomcloud-functiongraph-java-samples-doc-springboot-3x-0.0.1-SNAPSHOT.zip"
}


Expand Down