Skip to content

Change Rust source files to includes#7

Open
nathantypanski wants to merge 1 commit into
jdavis:masterfrom
nathantypanski:markdown-includes
Open

Change Rust source files to includes#7
nathantypanski wants to merge 1 commit into
jdavis:masterfrom
nathantypanski:markdown-includes

Conversation

@nathantypanski

Copy link
Copy Markdown

This change creates a _includes directory in the _docs directory and
adds includes for the relevant source files instead of copying them
directly into the markdown posts.

The _includes directory is actually a relative symlink to the patterns
directory, i.e,

docs$ ls -l _includes
total 4
lrwxrwxrwx 1 nathan nathan 14 Jul 12 23:03 patterns -> ../../patterns

meaning it should work on any system that understands symlinks.

This means that changes to the Rust files are automatically reflected in
the rendered pages by Jekyll.

Closes #3.

This change creates a `_includes` directory in the `_docs` directory and
adds includes for the relevant source files instead of copying them
directly into the markdown posts.

The `_includes` directory is actually a relative symlink to the patterns
directory, i.e,

    docs$ ls -l _includes
    total 4
    lrwxrwxrwx 1 nathan nathan 14 Jul 12 23:03 patterns -> ../../patterns

meaning it should work on any system that understands symlinks.

This means that changes to the Rust files are automatically reflected in
the rendered pages by Jekyll.

Closes jdavis#3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate adding of code to design pattern post

1 participant