-
-
Notifications
You must be signed in to change notification settings - Fork 336
Migrate log4net site to Antora and use logging-parent pom #210
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
710af82
moved /src/site to /site.legacy
FreeAndNil 7e7631f
first step for antora support
FreeAndNil a335591
Make `mvnw` executable
vy 1204e0f
excluded .idea folder from spotless plugin
FreeAndNil 7d3ab56
exclude binaries from spotless checks
FreeAndNil b3ac3bf
Merge remote-tracking branch 'origin/master' into Feature/Antora
FreeAndNil a34ac12
fixed spotless and rat warnings
FreeAndNil 8edef1e
- cleaned up pom
FreeAndNil 9826f8f
updated development.adoc
FreeAndNil b0fbd7d
Merge master
FreeAndNil 159e924
fix duplicate tag in pom
FreeAndNil 8a3042e
added release notes for 3.0.2 and 3.0.3
FreeAndNil 6888d2d
fixed known issues section
FreeAndNil 21459cf
added link to 2.x release notes
FreeAndNil 2cbfc2a
added release note for 3.0.1
FreeAndNil c1c87ee
migrated release notes for 3.0.0
FreeAndNil 80fae10
finished features page
FreeAndNil 912e2ad
Merge remote-tracking branch 'origin/master' into Feature/Antora
FreeAndNil 14d6c90
Merge remote-tracking branch 'origin/master' into Feature/Antora
FreeAndNil 61015e4
added download an installation pages
FreeAndNil a685fd6
first part of configuration migrated
FreeAndNil 86ba43f
Merge remote-tracking branch 'origin/master' into Feature/Antora
FreeAndNil 9f0c9f3
added appenders doc
FreeAndNil 6af5d75
refinde filters and layouts
FreeAndNil 8210734
Merge
FreeAndNil 0e9f159
Added release notes for 3.0.4
FreeAndNil a6309a7
finished appenders doc
FreeAndNil f9c1167
added release review instructions
FreeAndNil 7da3bf5
extended configuration doc
FreeAndNil ae657c8
completed configuration.adoc
FreeAndNil d63a1c5
fix links
FreeAndNil 86f7a84
updated config examples
FreeAndNil 8bdd21c
added oracle configuration example
FreeAndNil bbfb25b
updated SQL-Server example in source doc
FreeAndNil 6ad5579
separated configuration examples
FreeAndNil ded9d79
added potsgres example
FreeAndNil c23c890
restructured examples
FreeAndNil 20e8e19
BufferingForwardingAppender documented
FreeAndNil f90f3eb
added console appenders
FreeAndNil fdef8a7
added eventlog appender doc
FreeAndNil 8df9c71
added fileappender doc
FreeAndNil 567ad34
completed faq
FreeAndNil 2e58cdc
renamed to F.A.Q.
FreeAndNil f4d2992
added remaining appenders doc
FreeAndNil a42aa09
rephrased configuration doc for better understanding
FreeAndNil 4db619c
added RemoteSyslogAppender doc
FreeAndNil 085d268
added localsyslogappender doc
FreeAndNil c215f2b
added dynamic pattern layout doc
FreeAndNil b8a46b7
added supported frameworks doc
FreeAndNil 0929509
added first parts of introduction
FreeAndNil 8432e4e
added remaining part of introduction
FreeAndNil d23d74d
fixed typo in filename
FreeAndNil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
-Djava.awt.headless=true | ||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED | ||
--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED | ||
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED | ||
--add-opens java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-opens java.base/java.io=ALL-UNNAMED |
Binary file not shown.
This file contains hidden or 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,18 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.0/apache-maven-3.9.0-bin.zip | ||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar |
This file contains hidden or 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,141 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to you under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
site: | ||
title: Apache log4net | ||
url: "https://logging.apache.org/log4net" | ||
start_page: "ROOT::index.adoc" | ||
|
||
content: | ||
sources: | ||
- url: . | ||
branches: HEAD | ||
start_paths: | ||
- target/generated-site/antora | ||
edit_url: | ||
|
||
runtime: | ||
log: | ||
# Fail on warnings | ||
failure_level: warn | ||
|
||
asciidoc: | ||
extensions: | ||
- "@asciidoctor/tabs" | ||
|
||
ui: | ||
|
||
bundle: | ||
url: "https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable" | ||
snapshot: true | ||
|
||
# Template files: https://github.com/asciidoctor/asciidoctor-docs-ui/blob/main/src | ||
# Template variables: https://docs.antora.org/antora-ui-default/templates | ||
supplemental_files: | ||
|
||
# Add `@asciidoctor/tabs` extension styles | ||
- path: css/vendor/tabs.css | ||
contents: ./node_modules/@asciidoctor/tabs/dist/css/tabs.css | ||
|
||
# Add `@asciidoctor/tabs` extension scripts | ||
- path: js/vendor/tabs.js | ||
contents: ./node_modules/@asciidoctor/tabs/dist/js/tabs.js | ||
|
||
- path: partials/footer-scripts.hbs | ||
contents: | | ||
<script id="site-script" src="{{{uiRootPath}}}/js/site.js" data-ui-root-path="{{{uiRootPath}}}"></script> | ||
<script async src="{{{uiRootPath}}}/js/vendor/highlight.js"></script> | ||
<!-- `@asciidoctor/tabs` extension scripts --> | ||
<script async src="{{{uiRootPath}}}/js/vendor/tabs.js"></script> | ||
{{#if env.SITE_SEARCH_PROVIDER}} | ||
{{> search-scripts}} | ||
{{/if}} | ||
|
||
- path: partials/head-styles.hbs | ||
contents: | | ||
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css"> | ||
<link rel="icon" href="{{{uiRootPath}}}/../_images/favicon.ico" type="image/x-icon"> | ||
<!-- `@asciidoctor/tabs` extension styles --> | ||
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css"> | ||
<style> | ||
/* Swap colors of `IMPORTANT` and `WARNING` blocks */ | ||
.doc .admonitionblock.important .icon { background-color: #f70; } | ||
.doc .admonitionblock.warning .icon { background-color: #e40046; } | ||
/* Default `h4`, `h5`, and `h6` are smaller than the normal text, fix header font sizing: */ | ||
.doc h1 { font-size: 1.9rem; } | ||
.doc h2 { font-size: 1.7rem; } | ||
.doc h3 { font-size: 1.5rem; font-weight: 400; } | ||
.doc h4 { font-size: 1.3rem; font-weight: 500; } | ||
.doc h5 { font-size: 1.1rem; font-weight: 500; text-decoration: underline; } | ||
.doc h6 { font-size: 0.9rem; font-weight: 500; text-decoration: underline; } | ||
/* Default `code`, `pre`, and `.colist` (source code annotations) fonts are too big, adjust them: */ | ||
.doc .colist>table code, .doc p code, .doc thead code { font-size: 0.8em; } | ||
.doc pre { font-size: 0.7rem; } | ||
.doc .colist { font-size: 0.75rem; } | ||
/* Make links more visible: */ | ||
.doc a { text-decoration: underline; } | ||
.doc a code { text-decoration: underline; color: #1565c0; } | ||
/* Tab header fonts aren't rendered good, adjusting the font weight: */ | ||
.tablist > ul li { font-weight: 500; } | ||
/* `page-toclevels` greater than 4 are not supported by Antora UI, patching it: */ | ||
.toc .toc-menu li[data-level="4"] a { | ||
padding-left: 2.75rem; | ||
} | ||
/* Replace the default highlight.js color for strings from red (unnecessarily signaling something negative) to green: */ | ||
.hljs-string { | ||
color: #0f8532; | ||
} | ||
</style> | ||
|
||
- path: partials/header-content.hbs | ||
contents: | | ||
<header class="header"> | ||
<nav class="navbar"> | ||
<div class="navbar-brand"> | ||
<span class="navbar-item title">{{site.title}}</span> | ||
</div> | ||
<div id="topbar-nav" class="navbar-menu"> | ||
<div class="navbar-end"> | ||
<a class="navbar-item" href="https://logging.apache.org">a subproject of <strong>Apache Logging Services</strong></a> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
- path: partials/footer-content.hbs | ||
contents: | | ||
<footer class="footer"> | ||
<p> | ||
Copyright © 1999-{{{year}}} <a href="https://www.apache.org/">The Apache Software Foundation</a>. | ||
Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache Software License, Version 2.0</a>. | ||
Please read our <a href="https://privacy.apache.org/policies/privacy-policy-public.html">privacy policy</a>. | ||
</p> | ||
<p> | ||
Apache, Log4j, and the Apache feather logo are trademarks or registered trademarks of The Apache Software Foundation. | ||
Oracle and Java are registered trademarks of Oracle and/or its affiliates. | ||
Other names may be trademarks of their respective owners. | ||
</p> | ||
</footer> | ||
|
||
# Disable component version selector | ||
- path: partials/nav-explore.hbs | ||
contents: "" | ||
|
||
# Fix the `Edit this page` link | ||
- path: partials/edit-this-page.hbs | ||
contents: | | ||
<div class="edit-this-page"><a href="https://github.com/apache/logging-log4net/edit/Feature/Antora/src/site/antora/modules/{{page.module}}/pages/{{page.relativeSrcPath}}">Edit this Page</a></div> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.