Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GetAdocUI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
GetAdocUI
Commits
21c9b59a
Commit
21c9b59a
authored
Jan 25, 2026
by
AP matsuo koji
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GitLabで不要な文字列が表示されないようにした( htmlパススルーで無効になった記述を表示しないようにした
parent
aaab1830
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
44 deletions
+78
-44
config.adoc
Release/getADoc.Data/adocTPL/HtmlHelp/config.adoc
+39
-22
config.adoc
Release/getADoc.Data/adocTPL/config.adoc
+39
-22
No files found.
Release/getADoc.Data/adocTPL/HtmlHelp/config.adoc
View file @
21c9b59a
...
@@ -31,26 +31,18 @@ ifeval::["{lang}" == "ja"]
...
@@ -31,26 +31,18 @@ ifeval::["{lang}" == "ja"]
:untitled-label: 無題
:untitled-label: 無題
:version-label: バージョン
:version-label: バージョン
endif::[]
endif::[]
// ここまで空白行禁止(tocが表示されない)
// HTML出力で画像を埋め込む
:data-uri:
:data-uri:
// 各種Macro拡張
:hardbreaks:
:hardbreaks:
:experimental:
:experimental:
// ここまで空白行禁止(tocが表示されない)
//
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
// 2026/1/25 :GitLabのレンダラーでパススルー部(<style>などのhtml加工)が、無視され、テキストとして表示
// される問題の対処。 GitLabのadoc表示ではかカスタマイズ部は無視されるが、不要なテキストを表示しないようにした
// safe-mode-secureブロックで囲む
ifdef::FreePage[]
// safe-mode-secure外を上に集約して、safe-mode-secureブロックを一つにする
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// SCREEN Confidential
// SCREEN Confidential
...
@@ -63,6 +55,30 @@ ifdef::SCREENConfidential[]
...
@@ -63,6 +55,30 @@ ifdef::SCREENConfidential[]
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
endif::SCREENConfidential[]
endif::SCREENConfidential[]
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
// safe-mode-secure(セキュアモードが定義が無いときのみ展開する)
ifndef::safe-mode-secure[]
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
ifdef::FreePage[]
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
++++
<style>
<style>
...
@@ -185,24 +201,23 @@ img, .imageblock.bordered img {
...
@@ -185,24 +201,23 @@ img, .imageblock.bordered img {
.listingblock pre.CodeRay,
.listingblock pre.CodeRay,
.listingblock pre.prettyprint
.listingblock pre.prettyprint
.exampleblock>.content {
.exampleblock>.content {
margin-bottom: 0em; /* <-1.25
em */
margin-bottom: 1.25em; /* <-1.25em 0
em */
/* padding: 1.25em; */
/* padding: 1.25em; */
padding-top: 0.5em;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding-bottom: 0.5em;
/*padding-left: 1.25em;*/
/*padding-left: 1.25em;*/
padding-right: 0.5em;
padding-right: 0.5em;
}
}
/* サイドバー引用****のブロックのタイトルを右寄せ */
</style>
.sidebarblock>.content >.title {
text-align: left
}
</style>
++++
++++
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
ifeval::["{TocMode}" == "WordWrap"]
ifeval::["{TocMode}" == "WordWrap"]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
++++
<style>
<style>
...
@@ -339,6 +354,8 @@ ifdef::CustomIcon_nouse[]
...
@@ -339,6 +354,8 @@ ifdef::CustomIcon_nouse[]
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
endif::CustomIcon_nouse[]
endif::CustomIcon_nouse[]
endif::safe-mode-secure[]
// End of ::_CONFIG_ADOC[]
// End of ::_CONFIG_ADOC[]
endif::_CONFIG_ADOC[]
endif::_CONFIG_ADOC[]
Release/getADoc.Data/adocTPL/config.adoc
View file @
21c9b59a
...
@@ -31,26 +31,18 @@ ifeval::["{lang}" == "ja"]
...
@@ -31,26 +31,18 @@ ifeval::["{lang}" == "ja"]
:untitled-label: 無題
:untitled-label: 無題
:version-label: バージョン
:version-label: バージョン
endif::[]
endif::[]
// ここまで空白行禁止(tocが表示されない)
// HTML出力で画像を埋め込む
:data-uri:
:data-uri:
// 各種Macro拡張
:hardbreaks:
:hardbreaks:
:experimental:
:experimental:
// ここまで空白行禁止(tocが表示されない)
//
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
// ExtendStyleは常に有効とする。定義して、もう実行しておく。互換性:何回呼ばれても大丈夫。
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
// 2026/1/25 :GitLabのレンダラーでパススルー部(<style>などのhtml加工)が、無視され、テキストとして表示
// される問題の対処。 GitLabのadoc表示ではかカスタマイズ部は無視されるが、不要なテキストを表示しないようにした
// safe-mode-secureブロックで囲む
ifdef::FreePage[]
// safe-mode-secure外を上に集約して、safe-mode-secureブロックを一つにする
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// SCREEN Confidential
// SCREEN Confidential
...
@@ -63,6 +55,30 @@ ifdef::SCREENConfidential[]
...
@@ -63,6 +55,30 @@ ifdef::SCREENConfidential[]
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
:HeadLine: pass:n[{SCREENGA} [.right]##{DocNo} {CONF}##]
endif::SCREENConfidential[]
endif::SCREENConfidential[]
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
// safe-mode-secure(セキュアモードが定義が無いときのみ展開する)
ifndef::safe-mode-secure[]
:ExtendStyle: pass:none[<style>.nw{display:inline-block;white-space:pre;} .nowrap{display:inline-block;white-space:pre;}</style>]
{ExtendStyle}
// Page幅を無効にする
ifdef::FreePage[]
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
endif::FreePage[]
// 互換性:{FreePage}がConfigより後で定義された場合は、互換性ため{FreePage}を定義する
ifndef::FreePage[]
:FreePage: pass:none[<style>#header,#content,#footnotes,#footer{max-width:none;}</style>]
endif::FreePage[]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
++++
<style>
<style>
...
@@ -185,24 +201,23 @@ img, .imageblock.bordered img {
...
@@ -185,24 +201,23 @@ img, .imageblock.bordered img {
.listingblock pre.CodeRay,
.listingblock pre.CodeRay,
.listingblock pre.prettyprint
.listingblock pre.prettyprint
.exampleblock>.content {
.exampleblock>.content {
margin-bottom: 0em; /* <-1.25
em */
margin-bottom: 1.25em; /* <-1.25em 0
em */
/* padding: 1.25em; */
/* padding: 1.25em; */
padding-top: 0.5em;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding-bottom: 0.5em;
/*padding-left: 1.25em;*/
/*padding-left: 1.25em;*/
padding-right: 0.5em;
padding-right: 0.5em;
}
}
/* サイドバー引用****のブロックのタイトルを右寄せ */
</style>
.sidebarblock>.content >.title {
text-align: left
}
</style>
++++
++++
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// :TocMode: WordWrap or ExpandWidth or Other None WordWrapが初期値
ifndef::TocMode[]
:TocMode: WordWrap
endif::TocMode[]
ifeval::["{TocMode}" == "WordWrap"]
ifeval::["{TocMode}" == "WordWrap"]
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ css差分
++++
++++
<style>
<style>
...
@@ -339,6 +354,8 @@ ifdef::CustomIcon_nouse[]
...
@@ -339,6 +354,8 @@ ifdef::CustomIcon_nouse[]
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
endif::CustomIcon_nouse[]
endif::CustomIcon_nouse[]
endif::safe-mode-secure[]
// End of ::_CONFIG_ADOC[]
// End of ::_CONFIG_ADOC[]
endif::_CONFIG_ADOC[]
endif::_CONFIG_ADOC[]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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