Skip to content

Instantly share code, notes, and snippets.

@runlevel5
Last active August 29, 2015 14:02
Show Gist options
  • Save runlevel5/76a0535c88c06f753d9a to your computer and use it in GitHub Desktop.
Save runlevel5/76a0535c88c06f753d9a to your computer and use it in GitHub Desktop.
Generate sdoc of lotus
git clone [email protected]:lotus/lotus.git
git clone [email protected]:lotus/model.git
git clone [email protected]:lotus/controller.git
git clone [email protected]:lotus/view.git
git clone [email protected]:lotus/router.git
git clone [email protected]:lotus/helpers.git
git clone [email protected]:lotus/utils.git
sdoc -o doc/lotus -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" --no-dry-run -t lotus -a lotus
sdoc -o doc/model -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" model
sdoc -o doc/view -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" view
sdoc -o doc/controller -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" controller
sdoc -o doc/view -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" view
sdoc -o doc/router -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" router
sdoc -o doc/helpers -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" helpers
sdoc -o doc/utils -T direct --exclude="CHANGELOG.md" --exclude="LICENSE.txt" --exclude="LICENSE.md" --exclude="CONTRIBUTING.md" --exclude="test" --exclude="Gemfile*" --exclude=".*gemspec" --exclude="Rakefile" utils
cd doc
sdoc-merge --title 'Lotus v0.1.0' --op merged --names "Lotus,Lotus::Controller,Lotus::Helpers,Lotus::Model,Lotus::Router,Lotus::Utils,Lotus::View" lotus controller helpers model router utils view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment