Skip to content

Commit

Permalink
dirs are now resources/tag and resources/project
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Knight <knight@linux.com>
  • Loading branch information
eddie-knight committed Jan 29, 2025
1 parent ea25f9a commit be3658f
Show file tree
Hide file tree
Showing 46 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions website/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ deps:
--include='*.md' --exclude='*'

# Move over content such as graphics and logos
mkdir -p static/community/resources/design/
rsync -av '../community/resources/design/' 'static/community/resources/design/' --exclude='#*'
mkdir -p static/resources/tag/design/
rsync -av '../resources/tag/design/' 'static/resources/tag/design/' --exclude='#*'

# Update all imported markdown files to work as standalone hugo pages (except READMEs, see below)
# sed command is configured for the Netlify ubuntu env
Expand All @@ -21,7 +21,7 @@ deps:
fi; \
title_case=$$(echo "$$base_name" | sed -e 's/-/ /g' -e 's/\b\(.\)/\u\1/g' | sed 's/cncf/CNCF/Ig'); \
text_to_prepend="---\ntitle: \"$$title_case\"\n---\n"; \
sed -i "1s/^/$$text_to_prepend/" "$$file"; \
sed -i '' "1s/^/$$text_to_prepend/" "$$file"; \
done

# Set up Navbar and Sidebar contents
Expand Down

0 comments on commit be3658f

Please sign in to comment.