Skip to content

Commit

Permalink
Fixes build
Browse files Browse the repository at this point in the history
  • Loading branch information
skrawcz committed Sep 20, 2023
1 parent a6e828e commit 0ce0f8d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contrib/docs/compile_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
2. For each dataflow a user has, we want to create a folder in the user's folder.
3. For each file in the dataflow folder, we want to grab the latest commit for it. (we could count how many versions of it exist).
4. For each dataflow a user has, we pull telemetry data for it.
5. We then want to generate .mdx files and components in the docs/users/{user}/{dataflow} folder from the
5. We then want to generate .mdx files and components in the docs/Users/{user}/{dataflow} folder from the
dataflow python files and information we have.
6. We then will trigger a build of the docs; the docs can serve the latest commit version!
"""
Expand Down Expand Up @@ -204,7 +204,7 @@ def user_dataflows(dataflows_with_everyting: Collect[list[dict]]) -> dict[str, l
_user_name = user_dataflows[0]["user"]
result[_user_name] = user_dataflows
# make the folder
user_path = os.path.join("docs", "users", _user_name)
user_path = os.path.join("docs", "Users", _user_name)
os.makedirs(user_path, exist_ok=True)
# copy the author.md file
shutil.copyfile(user_dataflows[0]["author_path"], os.path.join(user_path, "index.mdx"))
Expand Down
2 changes: 1 addition & 1 deletion contrib/docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const config = {
label: 'Dataflows',
},
{to: '/blog', label: 'Hub Blog', position: 'left'},
{href: 'https://blog.dagworks.io', label: 'DAGWorks Blog', position: 'left'},
{href: 'https://blog.dagworks.io', label: 'DAGWorks Blog', position: 'right'},
{
href: 'https://github.com/dagworks-inc/hamilton',
label: 'GitHub',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# {username}
---
title: Example Template
---
# GITHUB USER NAME GOES HERE

Fill in information about yourself here. This is a template.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ce0f8d

Please sign in to comment.