Commit graph

74 commits

Author SHA1 Message Date
Bill Niblock
9389816052 README.md: Update links to respect new var dir 2017-05-07 13:00:09 -04:00
Bill Niblock
36c9f0d3ca Abstract sapling modules into individual modules
- module gardner -> lib/sapling/gardner.rb
- module dialogue -> lib/sapling/dialogue.rb
- module planter -> lib/sapling/planter.rb

- remove duplicate code from lib/sapling.rb
2017-05-07 12:59:36 -04:00
Bill Niblock
13683a35b4 Update documentation 2017-05-06 18:16:22 -04:00
Bill Niblock
04b52c13fc Repo organizing
- Add doc/ directory, so publishing to gh-pages is a bit easier.
- Update .gitignore to not ignore the doc/ directory.

- Move manual documentation directory into new var directory (var/docs)
- Move example dialogue tree into new var directory (var/trees)
- Update YARD to find manual documentation in new var directory
2017-05-06 18:15:08 -04:00
Bill Niblock
ee682ece5d Update formatting
- README.md: Remove unnecessary copyright line
- docs/config_file.md: Update the example YAML file to actually be proper.
- docs/config_file.md: Expand information to cover entire configuration file.
2017-05-06 18:06:00 -04:00
Bill Niblock
edcccc1869 Update yard docs 2017-05-06 17:41:40 -04:00
Bill Niblock
a10e53d689 .gitignore: Update for YARD 2017-05-06 17:37:29 -04:00
Bill Niblock
c240b494fc Auto-publish docs to gh-pages with yard-ghpages
- Add yard-ghpages to Gemfile
- Create Rakefile with yard-ghpages tasks for publishing to gh-pages
2017-05-06 17:35:37 -04:00
Bill Niblock
c729916f9d Start using Yard
- Add yard to Gemfile
- Configure .yardopts to pull in proper files
- Update custom docs to include yard metadata
2017-05-06 17:34:19 -04:00
Bill Niblock
893c71ea51 Start using Bundler
- Add Gemfile
- Add auto-generated Gemfile.lock
2017-05-06 17:29:47 -04:00
Bill Niblock
19fdb26cb7 trees/example_quest.yaml: Video games!
- Add branch 7, to actually finish the entire tree. Nice!
2017-05-06 16:18:52 -04:00
Bill Niblock
562aeb2437 README.md: Update to most current correct info 2017-05-06 15:39:33 -04:00
Bill Niblock
d02bf204cc CONTRIBUTING.md: Contribution guidelines 2017-05-06 15:39:15 -04:00
Bill Niblock
9cc77d6321 LICENSE: Add MIT license 2017-05-06 15:38:52 -04:00
Bill Niblock
df8a24b506 trees/example_quest.yaml: Finish the quest! 2017-05-06 15:20:17 -04:00
Bill Niblock
ada5787f8d trees/example_quest.yaml: Example Quest! Adventure!
- Example Quest is a meta dialogue, designed to walk the user through
  understanding what sapling is, and how it works.
- Used to be the configuration file example, but now it's all grown up and ready
  for big-boy pants.
2017-05-06 15:13:13 -04:00
Bill Niblock
0e7b80c740 docs/config_file_example.yaml: Self-document!
- Change the example configuration file from a tree to a self-documented
  reference. You can still run it in sapling, but it's pretty boring.
- Moved previous example configuration to "Example Quest", in the trees
  directory.
2017-05-06 15:12:11 -04:00
Bill Niblock
593b45ce14 lib/sapling.rb: Improve branch handling
- Show viable options in prompt.
- If a user does not select a viable option, inform them, and prompt again.
- Allow for terimnal branches. A terminal branch has no options. More details in
  the Configuration File documentation.
2017-05-06 14:38:53 -04:00
Bill Niblock
508b1f70c0 docs/editor.md: Skeleton editor documentation 2017-05-06 14:37:10 -04:00
Bill Niblock
7a9a401fad sapling.rb: A dialogue tree utility 2017-05-06 03:57:28 -04:00
Bill Niblock
4baca51880 Remove undo files 2017-05-06 03:56:59 -04:00
Bill Niblock
5e667210d9 Add gitignore file 2017-05-06 03:56:00 -04:00
Bill Niblock
2e216abdd3 Add some initial and basic documentation 2017-05-06 03:55:15 -04:00
Bill Niblock
221cb7409b Initial commit 2017-05-06 03:53:56 -04:00