Skip to content
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

Adds new landing page and updates internal page styling #2055

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
Binary file added .DS_Store
Binary file not shown.
36 changes: 35 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,38 @@ 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/?

.idea/*

### 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

# IntelliJ
out/

# Editor-based Rest Client
.idea/httpRequests

.history
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"tabWidth": 2
}
10 changes: 6 additions & 4 deletions scripts/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
GUIDES_GH_LOCATION = Path("keras-team") / "keras-io" / "blob" / "master" / "guides"
KERAS_TEAM_GH = "https://github.com/keras-team"
PROJECT_URL = {
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.8.0/",
"keras": f"{KERAS_TEAM_GH}/keras/tree/v3.9.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