Compare commits

..

3 Commits

Author SHA1 Message Date
Sebastian Oberdorfer
18f28fd3fe
Merge 45e81fb26e into d19c7b0a00 2024-10-30 11:54:12 +05:30
Boris Verkhovskiy
d19c7b0a00 Make instructions faster to copy/paste 2024-10-29 23:29:13 -06:00
Boris Verkhovskiy
d80cc3caeb
Remove "name:" (#5161) 2024-10-29 21:13:04 -06:00
30 changed files with 23 additions and 53 deletions

View File

@ -90,27 +90,26 @@ addition or not.
## Building the site locally
You can build the site locally to test your changes. Follow the steps below.
Install Ruby, on macOS you can do it by installing [Homebrew](https://brew.sh/) then
* 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)
repository.
* `git clone https://github.com/adambard/learnxinyminutes-site`
* Install Middleman and other required dependencies using Bundler.
* `cd learnxinyminutes-site/`
* `bundle install`
* Get the source in place
* 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`
folder inside the `docs` folder, it should just contain all the repo
contents.
* Checkout your fork of the learnxinyminutes-docs repo as `source/docs`.
* `cd 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
these commands at `learnxinyminutes-site/`).
* Build - `bundle exec middleman build`
* Dev server - `bundle exec middleman --force-polling --verbose`
```sh
brew install ruby
```
then
```sh
# Install Ruby bundler
gem install bundler
# Clone the repo for the website
git clone https://github.com/adambard/learnxinyminutes-site
# and clone the repo with all the content (this repo) into it
git clone https://github.com/<YOUR-USERNAME>/learnxinyminutes-docs ./learnxinyminutes-site/source/docs/
# Install the dependencies and run the site
cd learnxinyminutes-site
bundle install
bundle exec middleman serve
```

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-bg.pl

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
lang: ca-es

View File

@ -1,5 +1,4 @@
---
name: Groovy
category: language
language: Groovy
lang: ca-es

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo-cs.go

View File

@ -1,5 +1,4 @@
---
name: CUE
category: language
language: CUE
filename: learncue.cue

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
lang: es-es

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-es.pl

View File

@ -1,5 +1,4 @@
---
name: Raku
category: language
language: Raku
filename: learnraku-es.raku

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo-fi.go

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
lang: fr-fr

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-fr.pl

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo.go

View File

@ -1,5 +1,4 @@
---
name: Go
language: Go
filename: learngo-it.go
contributors:

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo-kr.go

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl.pl

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-pl.pm

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo-pt.go

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-pt.pl

View File

@ -1,5 +1,4 @@
---
name: Red
category: language
language: Red
filename: learnred.red

View File

@ -1,5 +1,4 @@
---
name: Sing
category: language
language: Sing
filename: learnsing.sing

View File

@ -1,5 +1,4 @@
---
name: C
category: language
language: C
filename: learnc-tr.c

View File

@ -1,5 +1,4 @@
---
name: ruby
language: Ruby
filename: learnruby-tr.rb
contributors:

View File

@ -1,5 +1,4 @@
---
name: Go
category: language
language: Go
filename: learngo-ua.go

View File

@ -1,5 +1,4 @@
---
name: java
category: language
language: Java
lang: zh-cn

View File

@ -1,7 +1,6 @@
---
language: JavaScript
category: language
name: javascript
filename: javascript-zh.js
contributors:
- ["Leigh Brenecki", "https://leigh.net.au"]

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-cn.pl

View File

@ -1,5 +1,4 @@
---
name: Red
category: language
language: Red
filename: LearnRed-zh.red

View File

@ -1,7 +1,6 @@
---
language: javascript
language: JavaScript
category: language
name: javascript
filename: javascript-zh-tw.js
contributors:
- ["Leigh Brenecki", "https://leigh.net.au"]

View File

@ -1,5 +1,4 @@
---
name: perl
category: language
language: Perl
filename: learnperl-tw.pl