mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
replace tabulator spaces by explicit spaces
An instance of `sed -i "s/\t/ /g" CONTRIBUTING.markdown`.
This commit is contained in:
parent
5142de01e3
commit
21ad762462
@ -35,7 +35,7 @@ review them more effectively and/or individually.
|
|||||||
in Vim)
|
in Vim)
|
||||||
+ You can check if the file contains a BOM on Linux/Unix systems by running
|
+ You can check if the file contains a BOM on Linux/Unix systems by running
|
||||||
`file language.html.markdown` You will see this if it uses a BOM:
|
`file language.html.markdown` You will see this if it uses a BOM:
|
||||||
`UTF-8 Unicode (with BOM) text`.
|
`UTF-8 Unicode (with BOM) text`.
|
||||||
|
|
||||||
|
|
||||||
### Header configuration
|
### Header configuration
|
||||||
@ -87,19 +87,19 @@ You can build the site locally to test your changes. Follow the steps below.
|
|||||||
|
|
||||||
* Install Ruby language runtime and RubyGems. See [here](https://middlemanapp.com/basics/install/) for more details.
|
* Install Ruby language runtime and RubyGems. See [here](https://middlemanapp.com/basics/install/) for more details.
|
||||||
* Clone or zip download the [learnxinyminutes-site](https://github.com/adambard/learnxinyminutes-site) repo.
|
* Clone or zip download the [learnxinyminutes-site](https://github.com/adambard/learnxinyminutes-site) repo.
|
||||||
* `git clone https://github.com/adambard/learnxinyminutes-site`
|
* `git clone https://github.com/adambard/learnxinyminutes-site`
|
||||||
* Install Middleman and other required dependencies using Bundler.
|
* Install Middleman and other required dependencies using Bundler.
|
||||||
* `cd learnxinyminutes-site/`
|
* `cd learnxinyminutes-site/`
|
||||||
* `bundle install`
|
* `bundle install`
|
||||||
* Get the source in place
|
* Get the source in place
|
||||||
* Copy the contents of your clone of the fork of learnxinyminutes-docs repo
|
* Copy the contents of your clone of the fork of learnxinyminutes-docs repo
|
||||||
into the `source/docs` folder. There shouldn't be a `learnxinyminutes-docs`
|
into the `source/docs` folder. There shouldn't be a `learnxinyminutes-docs`
|
||||||
folder inside the `docs` folder, it should just contain all the repo
|
folder inside the `docs` folder, it should just contain all the repo
|
||||||
contents.
|
contents.
|
||||||
* Checkout your fork of the learnxinyminutes-docs repo as `source/docs`.
|
* Checkout your fork of the learnxinyminutes-docs repo as `source/docs`.
|
||||||
* `cd source/docs/`
|
* `cd source/docs/`
|
||||||
* `git clone https://github.com/YOUR-USERNAME/learnxinyminutes-docs ./source/docs/`
|
* `git clone https://github.com/YOUR-USERNAME/learnxinyminutes-docs ./source/docs/`
|
||||||
* Build the site or run a development server to test your changes (NOTE: run
|
* Build the site or run a development server to test your changes (NOTE: run
|
||||||
these commands at `learnxinyminutes-site/`).
|
these commands at `learnxinyminutes-site/`).
|
||||||
* Build - `bundle exec middleman build`
|
* Build - `bundle exec middleman build`
|
||||||
* Dev server - `bundle exec middleman --force-polling --verbose`
|
* Dev server - `bundle exec middleman --force-polling --verbose`
|
||||||
|
Loading…
Reference in New Issue
Block a user