* fix: ignore unknown fields in more RPC responses * Remove mdbook infrastructure * Delete gitattributes and other theme related items Move all docs to /docs folder to support Docusaurus * all docs need to be moved to /docs * can be changed in the future Add Docusaurus infrastructure * initialize docusaurus repo Remove trailing whitespace, add support for eslint Change Docusaurus configuration to support `src` * No need to rename the folder! Change a setting and we're all good to go. * Fixing rebase items * Remove unneccessary markdown file, fix type * Some fonts are hard to read. Others, not so much. Rubik, you've been sidelined. Roboto, into the limelight! * As much as we all love tutorials, I think we all can navigate around a markdown file. Say goodbye, `mdx.md`. * Setup deployment infrastructure * Move docs job from buildkite to travic * Fix travis config * Add vercel token to travis config * Only deploy docs after merge * Docker rust env * Revert "Docker rust env" This reverts commit f84bc208e807aab1c0d97c7588bbfada1fedfa7c. * Build CLI usage from docker * Pacify shellcheck * Run job on PR and new commits for publication * Update README * Fix svg image building * shellcheck Co-authored-by: Michael Vines <mvines@gmail.com> Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com> Co-authored-by: publish-docs.sh <maintainers@solana.com>
22 lines
506 B
Bash
Executable File
22 lines
506 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Convert .bob and .msc files in docs/art to .svg files located where the
|
|
# site build will find them.
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
output_dir=static/img
|
|
|
|
mkdir -p "$output_dir"
|
|
|
|
while read -r bob_file; do
|
|
svg_file=$(basename "${bob_file%.*}".svg)
|
|
svgbob "$bob_file" --output "$output_dir/$svg_file"
|
|
done < <(find art/*.bob)
|
|
|
|
while read -r msc_file; do
|
|
svg_file=$(basename "${msc_file%.*}".svg)
|
|
mscgen -T svg -o "$output_dir/$svg_file" -i "$msc_file"
|
|
done < <(find art/*.msc)
|