mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Reference the new documentation location (docs/)
This commit is contained in:
parent
b956d1f16c
commit
847ed7a866
3 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
Thanks for helping build Capistrano! Here are the development practices followed by our community.
|
Thanks for helping build Capistrano! Here are the development practices followed by our community.
|
||||||
|
|
||||||
* [Who can help](#who-can-help)
|
* [Who can help](#who-can-help)
|
||||||
|
* [Contributing documentation](#contributing-documentation)
|
||||||
* [Setting up your development environment](#setting-up-your-development-environment)
|
* [Setting up your development environment](#setting-up-your-development-environment)
|
||||||
* [Coding guidelines](#coding-guidelines)
|
* [Coding guidelines](#coding-guidelines)
|
||||||
* [Submitting a pull request](#submitting-a-pull-request)
|
* [Submitting a pull request](#submitting-a-pull-request)
|
||||||
|
@ -17,6 +18,10 @@ Everyone can help improve Capistrano. There are ways to contribute even if you a
|
||||||
* reviewing pull requests and suggesting improvements
|
* reviewing pull requests and suggesting improvements
|
||||||
* reporting bugs or suggesting new features (see [CONTRIBUTING.md][])
|
* reporting bugs or suggesting new features (see [CONTRIBUTING.md][])
|
||||||
|
|
||||||
|
## Contributing documentation
|
||||||
|
|
||||||
|
Improvements and additions to Capistrano's documentation are very much appreciated. The official documention is stored in the `docs/` directory as Markdown files. These files are used to automatically generate the [capistranorb.com](http://capistranorb.com/) website, which is hosted by GitHub Pages. Feel free to make changes to this documentation as you see fit. Before opening a pull request, make sure your documentation renders correctly by previewing the website in your local environment. Refer to [docs/README.md][] for instructions.
|
||||||
|
|
||||||
## Setting up your development environment
|
## Setting up your development environment
|
||||||
|
|
||||||
Capistrano is a Ruby project, so we expect you to have a functioning Ruby environment. To hack on Capistrano you will further need some specialized tools to run its test suite.
|
Capistrano is a Ruby project, so we expect you to have a functioning Ruby environment. To hack on Capistrano you will further need some specialized tools to run its test suite.
|
||||||
|
@ -71,7 +76,7 @@ Your code should conform to these guidelines:
|
||||||
* We can't merge it without a [good commit message](http://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message). If you do this right, Github will use the commit message as the body of your pull request, double win.
|
* We can't merge it without a [good commit message](http://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message). If you do this right, Github will use the commit message as the body of your pull request, double win.
|
||||||
* If you are making an improvement/fix for an existing issue, make sure to mention the issue number (if we have not yet merged it )
|
* If you are making an improvement/fix for an existing issue, make sure to mention the issue number (if we have not yet merged it )
|
||||||
* Add an entry to the `CHANGELOG` under the `### master` section, but please don't mess with the version.
|
* Add an entry to the `CHANGELOG` under the `### master` section, but please don't mess with the version.
|
||||||
* If you add a new feature, please make sure to document it, open a corresponding pull request in [the documentation](https://github.com/capistrano/documentation) and mention the code change pull request over there, and Github will link everything up. If it's a simple feature, or a new variable, or something changed, it may be appropriate simply to document it in the generated `Capfile` or `deploy.rb`, or in the `README`
|
* If you add a new feature, please make sure to document it by modifying the appropriate Markdown files in `docs/` (see [contributing documentation](#contributing-documentation), above). If it's a simple feature, or a new variable, or something changed, it may be appropriate simply to document it in the generated `Capfile` or `deploy.rb`, or in the `README`.
|
||||||
* Take care to squash your commit into one single commit with a good message, it saves us a lot of work in maintaining the CHANGELOG if we can generate it from the commit messages between the release tags!
|
* Take care to squash your commit into one single commit with a good message, it saves us a lot of work in maintaining the CHANGELOG if we can generate it from the commit messages between the release tags!
|
||||||
* Tests! It's tricky to test some parts of Capistrano, but do your best, it might just serve as a starting point for us to build a reliable test on top of, and help us understand where you are coming from.
|
* Tests! It's tricky to test some parts of Capistrano, but do your best, it might just serve as a starting point for us to build a reliable test on top of, and help us understand where you are coming from.
|
||||||
|
|
||||||
|
@ -120,3 +125,4 @@ After a pull request is merged, it is assigned to a GitHub milestone for the upc
|
||||||
|
|
||||||
|
|
||||||
[CONTRIBUTING.md]: https://github.com/capistrano/capistrano/blob/master/CONTRIBUTING.md
|
[CONTRIBUTING.md]: https://github.com/capistrano/capistrano/blob/master/CONTRIBUTING.md
|
||||||
|
[docs/README.md]: https://github.com/capistrano/capistrano/blob/master/docs/README.md
|
||||||
|
|
|
@ -173,7 +173,7 @@ $ bundle exec cap production deploy --print-config-variables
|
||||||
|
|
||||||
Capistrano is a large project encompassing multiple GitHub repositories and a community of plugins, and it can be overwhelming when you are just getting started. Here are resources that can help:
|
Capistrano is a large project encompassing multiple GitHub repositories and a community of plugins, and it can be overwhelming when you are just getting started. Here are resources that can help:
|
||||||
|
|
||||||
* **[The Capistrano website](http://capistranorb.com) is the best place for official documentation**
|
* **The `docs/` directory contains the official documentation**, and is used to generate the [Capistrano website](http://capistranorb.com)
|
||||||
* [Stack Overflow](http://stackoverflow.com/questions/tagged/capistrano) has a Capistrano tag with lots of activity
|
* [Stack Overflow](http://stackoverflow.com/questions/tagged/capistrano) has a Capistrano tag with lots of activity
|
||||||
* [The Capistrano mailing list](https://groups.google.com/forum/#!forum/capistrano) is low-traffic but is monitored by Capistrano contributors
|
* [The Capistrano mailing list](https://groups.google.com/forum/#!forum/capistrano) is low-traffic but is monitored by Capistrano contributors
|
||||||
* [CodersClan](http://codersclan.net/?repo_id=325&source=link) has Capistrano experts available to solve problems for bounties
|
* [CodersClan](http://codersclan.net/?repo_id=325&source=link) has Capistrano experts available to solve problems for bounties
|
||||||
|
@ -181,7 +181,6 @@ Capistrano is a large project encompassing multiple GitHub repositories and a co
|
||||||
Related GitHub repositories:
|
Related GitHub repositories:
|
||||||
|
|
||||||
* [capistrano/sshkit](https://github.com/capistrano/sshkit) provides the SSH behavior that underlies Capistrano (when you use `execute` in a Capistrano task, you are using SSHKit)
|
* [capistrano/sshkit](https://github.com/capistrano/sshkit) provides the SSH behavior that underlies Capistrano (when you use `execute` in a Capistrano task, you are using SSHKit)
|
||||||
* [capistrano/documentation](https://github.com/capistrano/documentation) is what generates the official Capistrano website
|
|
||||||
* [capistrano/rails](https://github.com/capistrano/rails) is a very popular gem that adds Ruby on Rails deployment tasks
|
* [capistrano/rails](https://github.com/capistrano/rails) is a very popular gem that adds Ruby on Rails deployment tasks
|
||||||
* [mattbrictson/airbrussh](https://github.com/mattbrictson/airbrussh) provides Capistrano's default log formatting
|
* [mattbrictson/airbrussh](https://github.com/mattbrictson/airbrussh) provides Capistrano's default log formatting
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
# capistranorb.com
|
# capistranorb.com
|
||||||
|
|
||||||
This is the repository that generates the [capistranorb.com](http://capistranorb.com/) site. Feel free to send pull requests to make improvements to Capistrano's documentation!
|
This `docs/` directory generates the [capistranorb.com](http://capistranorb.com/) site. Feel free to send pull requests to make improvements to Capistrano's documentation!
|
||||||
|
|
||||||
### Quick start
|
### Quick start
|
||||||
|
|
||||||
This is a GitHub Pages project, which means it is built using Jekyll. To run the site locally, you'll need a functioning Ruby environment.
|
This is a GitHub Pages project, which means it is built using Jekyll. To run the site locally, you'll need a functioning Ruby environment.
|
||||||
|
|
||||||
After checking out the capistrano-documentation project, run:
|
After checking out the capistrano repository, run:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
cd docs
|
||||||
bundle install
|
bundle install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue