Skip to content

Change Rust source files to includes #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathantypanski
Copy link

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