You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ossie.apache.org by jb...@apache.org on 2026/07/06 15:29:22 UTC
(ossie-website) 01/04: add Apache incubation footer
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch apache-look-n-feel
in repository https://gitbox.apache.org/repos/asf/ossie-website.git
commit 5e096e29bce7d53ad541dceb261120346d0f0a68
Author: Celeste Horgan <ce...@snowflake.com>
AuthorDate: Thu Jun 25 10:37:31 2026 -0400
add Apache incubation footer
---
docs/assets/stylesheets/global.css | 19 +++++++++++++++++++
mkdocs.yml | 15 ++++++++++++---
overrides/partials/copyright.html | 25 +++++++++++++++++++++++++
overrides/partials/footer.html | 21 +++++++++++++++++++++
4 files changed, 77 insertions(+), 3 deletions(-)
diff --git a/docs/assets/stylesheets/global.css b/docs/assets/stylesheets/global.css
index 4f663a2..3d7a7a9 100644
--- a/docs/assets/stylesheets/global.css
+++ b/docs/assets/stylesheets/global.css
@@ -539,3 +539,22 @@ h6, .h6, .md-typeset h6 {
.md-content--post .md-typeset table {
font-size: 0.74rem;
}
+
+
+/* ==========================================================================
+ Site Footer — ASF Incubation Disclaimer
+ Rendered inside .md-copyright, below the copyright text and above
+ the "Made with Material for MkDocs" line.
+ ========================================================================== */
+
+/* 0.75em = 75% of the footer's inherited font size; applies to copyright,
+ disclaimer, and "Made with" equally */
+.md-copyright {
+ font-size: 0.75em;
+}
+
+.osi-disclaimer {
+ line-height: 1.6;
+ color: var(--md-footer-fg-color--lighter, rgba(255, 255, 255, 0.45));
+ margin: 0.4em 0 0.2em;
+}
diff --git a/mkdocs.yml b/mkdocs.yml
index 661fce7..e4da2b9 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -30,15 +30,17 @@
# Site metadata
# Shows in browser tabs, search engine results, and the site footer.
# ---------------------------------------------------------------------------
-site_name: Apache Ossie
+site_name: Apache Ossie (incubating)
site_url: https://ossie.apache.org
site_description: >-
Apache Ossie is a collaborative, open-source effort
dedicated to standardizing semantic model exchange across analytics, AI,
and BI platforms.
copyright: >-
- Copyright 2026 The Apache Ossie authors.<br>
- Licensed under the Apache License, Version 2.0.
+ Copyright © 2026 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. <br>
+ Apache, the names of Apache projects, and the feather logo are either registered trademarks or trademarks of the
+ Apache Software Foundation in the United States and/or other countries. All other marks mentioned may be
+ trademarks or registered trademarks of their respective owners.
# ---------------------------------------------------------------------------
# Theme configuration
@@ -170,6 +172,13 @@ extra_javascript:
# Rendered in the site footer by Material for MkDocs.
# ---------------------------------------------------------------------------
extra:
+ disclaimer: >-
+ Apache Ossie is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored
+ by the Apache Incubator. Incubation is required of all newly accepted projects until a further
+ review indicates that the infrastructure, communications, and decision making process have
+ stabilized in a manner consistent with other successful ASF projects. While incubation status is not
+ necessarily a reflection of the completeness or stability of the code, it does indicate that the project
+ has yet to be fully endorsed by the ASF.
social:
- icon: fontawesome/brands/github
link: https://github.com/apache/ossie
diff --git a/overrides/partials/copyright.html b/overrides/partials/copyright.html
new file mode 100644
index 0000000..ae3aa11
--- /dev/null
+++ b/overrides/partials/copyright.html
@@ -0,0 +1,25 @@
+{#
+ copyright.html — overrides Material's default copyright partial.
+
+ Inserts the ASF incubation disclaimer (extra.disclaimer from mkdocs.yml)
+ between the copyright text and the "Made with Material for MkDocs" line.
+ Styles live in docs/assets/stylesheets/global.css (.osi-disclaimer).
+#}
+{% if config.copyright %}
+<div class="md-copyright">
+ <div class="md-copyright__highlight">
+ {{ config.copyright }}
+ </div>
+ {% if config.extra.disclaimer %}
+ <div class="osi-disclaimer">
+ {{ config.extra.disclaimer }}
+ </div>
+ {% endif %}
+ {% if not config.extra.generator == false %}
+ Made with
+ <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
+ Material for MkDocs
+ </a>
+ {% endif %}
+</div>
+{% endif %}
diff --git a/overrides/partials/footer.html b/overrides/partials/footer.html
new file mode 100644
index 0000000..439a2a9
--- /dev/null
+++ b/overrides/partials/footer.html
@@ -0,0 +1,21 @@
+{#
+ footer.html — overrides Material's default footer partial.
+
+ The only change from Material's default is guarding against page=None
+ (which occurs when rendering theme templates like 404.html).
+ The ASF disclaimer is injected inside partials/copyright.html.
+#}
+<footer class="md-footer">
+ {% if not page or page.meta.hide is not defined or "footer" not in page.meta.hide %}
+
+ <div class="md-footer-meta md-typeset">
+ <div class="md-footer-meta__inner md-grid">
+ {% include "partials/copyright.html" %}
+ {% if config.extra.social %}
+ {% include "partials/social.html" %}
+ {% endif %}
+ </div>
+ </div>
+
+ {% endif %}
+</footer>