πŸ§ͺ Snippet: General Publishing Test#

In the best spirit of over-engineering for fun, this minimalistic post documents the way my snippets land over at jdsalaro/jdsalaro.com.

It also serves as a canary[1] test in case anything goes wrong now or in the future.

The structure I’ve chosen to organize them is as follows:

$ tree ../../language

../../language
└── library
    β”œβ”€β”€ example.md
    └── example.md-data
        β”œβ”€β”€ code
        β”‚Β Β  β”œβ”€β”€ README.md
        β”‚Β Β  β”œβ”€β”€ go.mod
        β”‚Β Β  └── main.go
        └── init.sh

4 directories, 5 files

Upon execution, init.sh performs some cosmetic modification to the files’ and directories’ names after which they are placed under the same path they are coming from.

public
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”‚
...
β”‚
β”œβ”€β”€ snippet
β”‚Β Β  └── language
β”‚Β Β      └── library
β”‚Β Β          └── example
β”‚Β Β              β”œβ”€β”€ README.md
β”‚Β Β              β”œβ”€β”€ go.mod
β”‚Β Β              └── main.go
...

9 directories, 8 files

Final Words#

Well that was short, but I do hope the plumbing I’ve set up finally allows me to get done and push the GoLang kata @DavidQP has been pestering me for!

If you are interested in receiving updates whenever I write something new, subscribe by entering your email in the registration form on the sidebar!

Thank you for reading and remember that feedback is always welcome and appreciated; you may contact me via email or social media. Let me know if there’s anything else you’d like to know, there’s something you’d like to have corrected, translated, added or clarified further.

Footnotes#