Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-PETRA-UPM
Enci-Dokumentation
Commits
038c0137
Commit
038c0137
authored
Jan 28, 2022
by
Stephan Botta
Browse files
Update README.adoc
parent
aa3c745f
Pipeline
#19968
passed with stages
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs-de/modules/HOWTO/pages/README.adoc
View file @
038c0137
...
...
@@ -628,21 +628,27 @@ Dies geschieht in Form einer sogenannten _include_ Anweisungen, bei der dann dir
-----
[source, python]
----
\include::https://gitlab.desy.de/fs-petra-upm/recovib/-/raw/master/config.py
?inline=false
[]
\include::https://gitlab.desy.de/fs-petra-upm/recovib/-/raw/master/config.py[]
----
-----
.Ergebnis
[source, python]
----
include::https://gitlab.desy.de/fs-petra-upm/recovib/-/raw/master/config.py
?inline=false
[]
include::https://gitlab.desy.de/fs-petra-upm/recovib/-/raw/master/config.py[]
----
[IMPORTANT]
====
Das so verlinkte Repository muss öffentlich lesbar sein. Sollte sich die Quelldatei in einem privaten Repository befinden muss mithilfe eines Access-Token darauf zugegriffen werden.
z.B. so:
-----
[source,Python]
----
include::https://gitlab.desy.de/api/v4/projects/1553/repository/files/DESCRIPTION/raw?private_token=nTZDXZA4gT2tLpPyYsEM&ref=main
----
-----
.Ergebnis:
[source,Python]
----
include::https://gitlab.desy.de/api/v4/projects/1553/repository/files/DESCRIPTION/raw?private_token=nTZDXZA4gT2tLpPyYsEM&ref=main[]
----
====
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment