Move where the "different name" tip goes

This commit is contained in:
Richard Feldman 2022-10-23 18:07:13 -04:00
parent 87584a33ca
commit 921ab885ce
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
<!-- if the window gets big, this extends the purple bar on the top header to the left edge of the window --> <!-- if the window gets big, this extends the purple bar on the top header to the left edge of the window -->
</div> </div>
<header class="top-header"> <header class="top-header">
<nav class="pkg-and-logo"> <div class="pkg-and-logo">
<a class="logo" href="/" aria-labelledby="logo-link"> <a class="logo" href="/" aria-labelledby="logo-link">
<svg viewBox="0 -6 51 58" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby="logo-link" role="img"> <svg viewBox="0 -6 51 58" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby="logo-link" role="img">
<title id="logo-link">Return to Roc packages</title> <title id="logo-link">Return to Roc packages</title>
@ -32,7 +32,7 @@
</svg> </svg>
</a> </a>
<!-- Package Name and Version --> <!-- Package Name and Version -->
</nav> </div>
<div class="top-header-triangle"> <div class="top-header-triangle">
<!-- if the window gets big, this extends the purple bar on the top header to the left edge of the window --> <!-- if the window gets big, this extends the purple bar on the top header to the left edge of the window -->
</div> </div>

View file

@ -39,7 +39,7 @@ mv generated-docs/*.* www/build # move all the .js, .css, etc. files to build/
mv generated-docs/ www/build/builtins # move all the folders to build/builtins/ mv generated-docs/ www/build/builtins # move all the folders to build/builtins/
# Manually add this tip to all the builtin docs. # Manually add this tip to all the builtin docs.
find www/build/builtins -type f -name 'index.html' -exec sed -i 's!<div class="module-links">!<div class="module-links"><div style="padding: 1em;font-style: italic;line-height: 1.3em;"><strong>Tip:</strong> <a href="/different-names">Some names</a> differ from other languages.</div>!' {} \; find www/build/builtins -type f -name 'index.html' -exec sed -i 's!</nav>!<div style="padding: 1em;font-style: italic;line-height: 1.3em;"><strong>Tip:</strong> <a href="/different-names">Some names</a> differ from other languages.</div></nav>!' {} \;
echo 'Generating CLI example platform docs...' echo 'Generating CLI example platform docs...'
# Change ROC_DOCS_ROOT_DIR=builtins so that links will be generated relative to # Change ROC_DOCS_ROOT_DIR=builtins so that links will be generated relative to