Граф коммитов

1361 Коммитов

Автор SHA1 Сообщение Дата
Jeff King 7c59eaa186 routes: restore bare /year/month/date/slug blog route
We only switched to /blog in 2013, so there's a real chance
that old links would use the bare format. And it's not that
hard to match them and give them the same redirect.
2018-02-08 05:00:39 -05:00
Jeff King dd8b9d57e6 drop blog content
There hasn't been a blog post in 7 years, and there are no
plans to revive it. The existing posts generally fall into
one of two categories:

  - news about the pro git book

  - technical notes that weren't covered in the 1st edition
    of pro git

The former are no longer interesting at all. And the latter
had their content folded into the second edition.

So let's drop this content, as we sometimes get issues
raised about its accuracy and formatting. We want to
redirect people to the actually-maintained book content.

We'll put a short note in the /blog route to help anybody
who follows old links to these posts.
2018-02-08 04:25:27 -05:00
Jeff King 46247ff2a8
Merge pull request #1134 from git/command-cleanup
drop obsolete / redundant command lists and book code
2018-02-08 03:43:28 -05:00
Jeff King 67d3d9b9f9 drop UPDATE_TOKEN code
Once upon a time, the idea was that you could update the
site with new book versions by posting to a special endpoint
with a secret token.

But these days we fetch the book material directly to the
rails environment by running a periodic rake task, and then
update the database directly. Let's drop this unused code.
2018-02-08 03:23:56 -05:00
Jeff King f01b2b717d icons: drop "small" icons from "related" sidebar
Now that we don't have a related sidebar, we don't need
these images.
2018-02-08 03:16:44 -05:00
Jeff King 0529ef9c94 drop "related items" code
We haven't been populating the database with this for some
time (and any residual records have been gone for almost a
year due to the database transition). And nobody seems to
have noticed.

Let's just give up on the feature in the name of simplicity.
2018-02-08 03:13:31 -05:00
Jeff King 8adc36c43f drop books/commands view
This isn't accessible anymore, and should have been cleaned
up as part of 395a6f2 (redirect /book/commands to /docs,
2018-02-07).
2018-02-08 03:07:59 -05:00
Jean-Noël Avila 3c2707d212
Merge pull request #1137 from git/giteveryday
basic fix of bad everyday git cross link
2018-02-07 23:10:14 +01:00
Jean-Noel Avila ba3a0d60cb basic fix of bad everyday git cross link 2018-02-07 23:00:14 +01:00
Jeff King 3e6b65583e clean up links to /documentation
We mostly use "/doc", so let's try to be consistent.
2018-02-07 09:27:13 -05:00
Jeff King 13e0e7bf85 routes: clean up documentation/ routes
These are historical names for things in /doc, etc. Let's
make them actual redirects so that people see the "official"
URLs (and we may eventually deprecate and remove these).
2018-02-07 09:26:16 -05:00
Jeff King 395a6f2acf redirect /book/commands to /docs
This currently generates a poorly formatted list of commands
with no actual links to the manpage. It was originally
referenced as part of a command index in a mock-up that went
away in the previous commit.

Probably nobody links to it, but we can easily just redirect
it to our good-looking link-filled command reference page.

Note that this lets us drop the redundant list of commands
in lib/constants.rb.
2018-02-07 09:18:15 -05:00
Jeff King c635f6b477 drop doc#book endpoint
This is from an old mock-up of the book code. It doesn't
actually work (it returns a 500 probably because the
database schema has changed). The real endpoint is "/books",
so let's redirect there.
2018-02-07 09:12:58 -05:00
Jeff King 0740d7bf3e drop config/initializers/categories.rb
Once upon a time this was supposed to generate the `/docs`
index page, but it hasn't been used since b4fc467 (pulled in
jasons changes, moving to using his haml directly,
2012-03-29).

Let's drop it, since it creates hassle when updating the
command list.
2018-02-07 08:38:06 -05:00
Jean-Noël Avila e13048f51d
Merge pull request #1133 from avar/add-git-worktree
overview page: add link to git-worktree
2018-02-07 13:39:48 +01:00
Ævar Arnfjörð Bjarmason e918a3af9b overview page: add link to git-worktree
It has been noted on
https://public-inbox.org/git/CACsJy8Dt_TjfRk05oNW8DXrdn6s_QV8NQZKnnrgGkj3WTN_=3A@mail.gmail.com/T/#t
that even though this is an official porcelain command there's no link
to it from /docs, fix that.

I have not run this version of the site (don't have the env to do
that), but replicated how we're listing mergetool, so this should
work.
2018-02-07 11:30:28 +00:00
Jean-Noël Avila 8e584cfc39
Merge pull request #1132 from severinolorillajr/master
Added TL Locale
2018-02-06 09:30:33 +01:00
Severino Lorilla Jr 60f13d7637
Added TL Locale 2018-02-06 16:08:00 +08:00
Severino Lorilla Jr 807e2cf921
Updated book2.rake 2018-02-06 14:51:51 +08:00
Severino Lorilla Jr 130a0ea413
Added repository for Tagalog locale 2018-02-06 14:49:00 +08:00
Severino Lorilla Jr badc2ad8e4
Added Tagalog Locale 2018-02-06 14:47:14 +08:00
Jean-Noel Avila c516480177 progit: refine regexps for selecting chapters
Trying to migrate the progit book, it turns out the original regexps
are too lax.
2018-02-04 15:24:19 +01:00
Jeff King cba64f004b
Merge pull request #1128 from KiiTheSpark/master
Fixed wording issues
2018-01-29 10:10:11 -05:00
KiiTheSpark c35f9585cc
Change word 正體中文 to 繁體中文 2018-01-29 19:26:22 +08:00
KiiTheSpark ab9a36940b
Change word 正體中文 to 繁體中文 2018-01-29 19:26:19 +08:00
Jean-Noel Avila 2bb9a404c9 Merge branch 'polish' 2018-01-28 18:22:41 +01:00
Jean-Noel Avila b0d4d79662 progit2: add polish translation 2018-01-28 18:19:16 +01:00
Pedro Rijo ad939da48e
Merge pull request #1125 from noahleigh/fix-downloads-view-template
Fix downloads view template
2018-01-18 22:39:38 +00:00
Noah Leigh a89bc1025f
Added raw block to resolve template issue 2018-01-18 17:23:59 -05:00
Noah Leigh d00e91caa0
Added raw block to resolve template issue 2018-01-18 17:23:01 -05:00
Jeff King 24cc7031ef
Merge pull request #1123 from git/prune-package.json
drop unnecessary bits from package-lock.json
2018-01-18 16:17:14 -05:00
Jeff King 966fa0f0e0 drop unnecessary bits from package-lock.json
This is actually the result I get running `npm install`. It
seems like there are a bunch of unnecessary dependencies in
the package-lock file, some of which have security
vulnerabilities. These don't overly matter, since we use
node only for the stylelint check, but if we're not using
them, it's better to be tidy.

Note that npm also seems to want to use "^" rules instead of
"~" in the actual package.json.
2018-01-18 15:48:06 -05:00
Pedro Rijo c45d466120
Merge pull request #1122 from packtpartner/patch-10
Added a new video listing
2018-01-17 14:27:23 +00:00
Jason Long 717f3f3696
Merge pull request #1121 from jasonlong/lint-fixes-part1
First pass at stylelint fixes
2018-01-17 08:48:13 -05:00
Packt 6183842e1a
Update ext.html.erb 2018-01-17 16:58:18 +05:30
Jason Long 4bf4247b6a
Guess what? 2018-01-16 21:33:13 -05:00
Jason Long 2b9907af76
And even more 2018-01-16 21:25:41 -05:00
Jason Long 4613e93398
And more 2018-01-16 20:57:33 -05:00
Jason Long 57f3023236
And even more basic lint fixes 2018-01-16 20:44:06 -05:00
Jason Long f4df954d38
And more basic lint fixes 2018-01-16 20:21:53 -05:00
Jason Long b560dacf88
More basic lint fixes 2018-01-16 20:12:28 -05:00
Jason Long ee8b5cc1ab
Basic lint fixes 2018-01-16 15:04:45 -05:00
Jason Long fa39d69d04
Merge pull request #1119 from jasonlong/stylelint
Add stylelint config
2018-01-16 11:33:06 -05:00
Jason Long d483f9b61e
Remove sass compilation stuff for now 2018-01-16 09:30:54 -05:00
Jason Long 93aec6989e
Add stylelint and config 2018-01-16 09:20:42 -05:00
Pedro Rijo a9a2804343
Merge pull request #1118 from jasonlong/dont-feed-me
Remove blog feed
2018-01-16 08:48:16 +00:00
Jason Long 7654802b92
Remove feed method from blog controller 2018-01-15 16:24:45 -05:00
Jason Long 5a0ebe4fee
Revert inadvertent change 2018-01-15 16:17:07 -05:00
Jason Long 8442ef7dfe
Remove RSS feed 2018-01-15 16:14:56 -05:00
Jeff King 28399835a6
Merge pull request #1117 from jasonlong/hamldone
Convert remaining .haml files
2018-01-15 16:06:49 -05:00