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
1 change: 1 addition & 0 deletions docs/_static/apache-incubator-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/* Custom styles for the Apache footer */
.apache-footer {
background-color: var(--color-background-secondary) !important;
color: var(--color-foreground-secondary) !important;
padding: 1.5rem;
margin-top: 2rem;
border-top: 1px solid var(--color-background-border);
}

.apache-footer p {
color: var(--color-foreground-secondary) !important;
margin: 0.5rem 0;
font-size: 0.9em;
}

.apache-footer a {
color: var(--color-link) !important;
text-decoration: none;
border-bottom: 1px solid var(--color-link-underline);
}

.apache-footer a:hover {
color: var(--color-link--hover) !important;
border-bottom-color: var(--color-link-underline--hover);
}

/* Base styles that apply to all modes */
.apache-footer .apache-incubator-logo {
width: 200px !important;
height: auto !important;
margin: 0 auto 1rem auto;
display: block;
}

/* Light mode - make logo dark */
[data-theme="light"] .apache-footer .apache-incubator-logo {
filter: invert(0.9) brightness(0.2) contrast(1.2);
}

/* Dark mode - use original colors */
[data-theme="dark"] .apache-footer .apache-incubator-logo {
filter: none !important;
}

/* Override bottom page icons */
.bottom-of-page .icons svg {
width: 1.5rem !important;
height: 1.5rem !important;
color: var(--color-foreground-muted) !important;
}

/* Dark mode overrides */
[data-theme="dark"] .apache-footer {
background-color: var(--color-background-secondary) !important;
}

[data-theme="dark"] .apache-footer a {
color: var(--color-link) !important;
}
8 changes: 0 additions & 8 deletions docs/_templates/layout.html

This file was deleted.

29 changes: 29 additions & 0 deletions docs/asf/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
================
ASF
================

Apache Software Foundation links.

.. toctree::
:maxdepth: 1
:caption: ASF Links
:glob:
:hidden:

Apache Software Foundation <https://www.apache.org/>
License <https://www.apache.org/licenses/>
Events <https://www.apache.org/events/current-event.html>
Privacy <https://privacy.apache.org/policies/privacy-policy-public.html>
Security <https://www.apache.org/security/>
Sponsorship <https://www.apache.org/foundation/sponsorship.html>
Thanks <https://www.apache.org/foundation/thanks.html>
Code of Conduct <https://www.apache.org/foundation/policies/conduct.html>

- `Foundation <https://www.apache.org/>`_
- `License <https://www.apache.org/licenses/>`_
- `Events <https://www.apache.org/events/current-event.html>`_
- `Privacy <https://privacy.apache.org/policies/privacy-policy-public.html>`_
- `Security <https://www.apache.org/security/>`_
- `Sponsorship <https://www.apache.org/foundation/sponsorship.html>`_
- `Thanks <https://www.apache.org/foundation/thanks.html>`_
- `Code of Conduct <https://www.apache.org/foundation/policies/conduct.html>`_
21 changes: 21 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@
# required to get reference documentation to be built
sys.path.insert(0, os.path.abspath(".."))

apache_footer = """
<div class="apache-footer">
<img width="200" src="/_static/apache-incubator-logo.svg" alt="Apache Incubator Logo" class="apache-incubator-logo">
<div class="apache-notice">
<p>Apache Hamilton 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.</p>
</div>
<div class="apache-copyright">
<p>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.</p>
</div>
</div>
"""

copyright = "The Apache Software Foundation, Licensed under the Apache License, Version 2.0."
project = "Hamilton"

html_theme = "furo"
Expand All @@ -24,12 +37,20 @@
"color-announcement-background": "#ffba00",
"color-announcement-text": "#091E42",
},
"footer_icons": [
{
"name": "Apache Stuff",
"html": apache_footer,
"url": "https://incubator.apache.org/",
},
],
}
html_static_path = ["_static"]
templates_path = ['_templates']

html_css_files = [
"testimonials.css",
"custom.css",
]
extensions = [
"sphinx.ext.autodoc",
Expand Down
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ reference/dataflows/index
reference/disabling-telemetry.md
```

```{toctree}
:hidden: True
:caption: ASF

asf/index
```

```{toctree}
:hidden: True
:caption: EXTERNAL RESOURCES
Expand Down