Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
92165c4
feat: create webpack config
manuel-azenha Feb 25, 2025
ddf631c
feat: landing page desktop
manuel-azenha Feb 26, 2025
5e79b3e
feat: add icons
manuel-azenha Feb 26, 2025
09111ec
add Images via upload
manuel-azenha Feb 26, 2025
f3ca2c5
feat: docs - sidenav rework (#1)
mmanista-bynd Mar 3, 2025
5ef0724
feat: docs - sidenav rework
mmanista-bynd Mar 3, 2025
7421345
Adds changes for landing page
alex-bynd Mar 3, 2025
b39decf
Adds nav changes
alex-bynd Mar 3, 2025
f80c024
Adds nav to subpages
alex-bynd Mar 4, 2025
92d9c88
feat: docs pages css updates
mmanista-bynd Mar 4, 2025
973822e
Adds theme enhancements
alex-bynd Mar 4, 2025
106d340
Merge branch 'feature/docs-css-updates'
alex-bynd Mar 4, 2025
fedd27b
feat: docs - more css updates
mmanista-bynd Mar 5, 2025
e1f5723
Merge pull request #3 from manuel-azenha/feature/docs-css-updates
alexabbott Mar 5, 2025
0a1407e
fix: docs styling - addressing QA feedback
mmanista-bynd Mar 6, 2025
f150362
Merge pull request #4 from manuel-azenha/feature/docs-css-updates
alexabbott Mar 6, 2025
aa341e1
Address UAT and PR feedback
alex-bynd Mar 7, 2025
3bbe12f
Addresses UAT and PR feedback
alex-bynd Mar 7, 2025
a1424af
Fixes a few more UAT issues
alex-bynd Mar 7, 2025
877e385
Fixes more UAT issues
alex-bynd Mar 7, 2025
a3c8291
fix: landing page - sticky textbox section fix
mmanista-bynd Mar 7, 2025
a4346ef
Merge pull request #5 from manuel-azenha/bugfix/landing-sticky-textbox
alexabbott Mar 7, 2025
86c773f
Adds additional fixes
alex-bynd Mar 7, 2025
d2d434e
Adds color tweaks
alex-bynd Mar 7, 2025
d05b9ea
Adds more UAT tweaks
alex-bynd Mar 10, 2025
f0d4190
Fixes parallax issue
alex-bynd Mar 10, 2025
0033ea8
Remove github button from kears 3 announcement
alex-bynd Mar 11, 2025
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
114 changes: 113 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,116 @@ templates/**/guides/**/*.md
templates/keras_hub/getting_started.md
templates/keras_tuner/getting_started.md
datasets/*
.vscode/*
.vscode/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need all this. Maybe just ignore .idea/?

node_modules/*
bundle/*

### JetBrains ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### JetBrains Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

# Azure Toolkit for IntelliJ plugin
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml
5 changes: 5 additions & 0 deletions .idea/.gitignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all these .idea files form the PR (just don't commit them).

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/keras-io.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"tabWidth": 2
}
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
FROM python:3.9
FROM node:23.8-bullseye AS node-builder

COPY ./ ./

FROM python:3.9 AS final

COPY requirements.txt ./
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install keras --upgrade

COPY ./ ./
WORKDIR scripts
COPY --from=node-builder /bundle ./bundle

WORKDIR /scripts
RUN python autogen.py make

CMD ["python", "-u", "autogen.py", "serve"]
8 changes: 5 additions & 3 deletions scripts/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
PROJECT_URL = {
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.8.0/",
"keras_tuner": f"{KERAS_TEAM_GH}/keras-tuner/tree/v1.4.7/",
"keras_hub": f"{KERAS_TEAM_GH}/keras-hub/tree/v0.18.1/",
"keras_hub": f"{KERAS_TEAM_GH}/keras-hub/tree/v0.19.1/",
"tf_keras": f"{KERAS_TEAM_GH}/tf-keras/tree/v2.18.0/",
}
USE_MULTIPROCESSING = False
Expand Down Expand Up @@ -776,9 +776,11 @@ def render_md_sources_to_html(self):
print("...Rendering", fname)
self.render_single_file(src_location, fname, self.nav)

# Images & css
# Images & css & js
shutil.copytree(Path(self.theme_dir) / "js", Path(self.site_dir) / "js")
shutil.copytree(Path(self.theme_dir) / "css", Path(self.site_dir) / "css")
shutil.copytree(Path(self.theme_dir) / "img", Path(self.site_dir) / "img")
shutil.copytree(Path(self.theme_dir) / "icons", Path(self.site_dir) / "icons")

# Landing page
landing_template = jinja2.Template(
Expand Down Expand Up @@ -1176,4 +1178,4 @@ def get_working_dir(arg):
keras_io.add_guide(
sys.argv[2],
working_dir=get_working_dir(sys.argv[3]) if len(sys.argv) == 4 else None,
)
)
Loading