Jeff King
e89e6fafe0
rails: s/assets/files/ in config.serve_static_assets
...
The former has been deprecated, and Rails produces an
annoying warning.
2017-05-03 01:02:12 -04:00
Jeff King
3144750faf
add 'bullet' gem in development mode
...
This helps find n+1 queries, which seem to be one of the
main causes of production slowness.
2017-03-10 05:05:41 -05:00
Jeff King
232147e6c1
drop New Relic support
...
As pointed out in [1], the New Relic support causes the
output from the site to be non-deterministic. That makes
caching at the CDN-level harder.
Since I don't actually have access to the analytics results,
let's just drop it entirely. It's just one less complication.
[1] https://github.com/git/git-scm.com/pull/941#issuecomment-277261450
2017-02-08 17:02:20 -05:00
Jeff King
1ed2af1811
Merge pull request #940 from Haroenv/patch-1
...
add git-check-ignore to list of plumbing commands
2017-02-08 13:07:27 -05:00
Haroen Viaene
b9af41b1ba
add check-ignore to categories.rb
2017-02-04 09:55:50 +01:00
Adam Stankiewicz
2e8fa7e2a0
Improve caching for pages and assets
2017-02-03 00:44:17 +01:00
Jeff King
0315fd28be
books: fix historical redirects
...
When we see "/book/4_git_treeishes", we route it via a
redirect table to "/book/en/Git-Tools-Revision-Selection".
However that URL is generated by feeding "en/..." to the
book_lang_path() helper from the routes table, which quotes
the "/", breaking the link.
We can work around this by splitting the two parts and
feeding them to the "book/:lang/:slug" route instead.
2017-01-21 08:36:23 -05:00
Andrey Rybak
eedf061d1a
Add new category "Guides" to the reference topics
...
Consists of the guides presented by "git help --guides" command.
2016-09-11 19:29:13 +03:00
Dirkjan Bussink
ff1a02f6f6
Enforce https for entire site
...
Now that it's properly available behind https, let's enforce it so that
links get redirect over http and that we can set things like HSTS.
Also updates older links that should be links to *.github.io or link to
github.com over https.
2016-03-14 15:27:16 +01:00
Scott Chacon
41cd34c2ad
Merge pull request #569 from git/fix-builds
...
Fix Builds
2015-08-11 09:41:54 -07:00
Scott Chacon
9ba1289619
serve static files from rails
2015-08-11 09:27:27 -07:00
Jason Long
ae93911ac7
Turn on sass compression
2015-03-24 13:53:20 -04:00
Patrick Eigensatz
a5f5ab64dc
Added git-bundle to the doc categories
2015-01-07 13:24:54 +01:00
Scott Chacon
21632d44eb
update API
2014-10-26 20:38:39 +01:00
Scott Chacon
0f26f69f7c
xrefs all seem to work
2014-10-25 00:48:11 +02:00
Scott Chacon
f807bda862
fix related task
2014-10-25 00:48:10 +02:00
Scott Chacon
05cde2511a
prepare for progit v2
2014-10-23 16:50:26 +01:00
bry4n
5daa767493
Redirect to howto file
2014-08-25 19:25:07 -05:00
bry4n
8c400d0285
Increase rack timeout
2014-07-30 19:49:23 -05:00
bry4n
f3c780a820
Update example
2014-07-28 19:10:51 -05:00
bry4n
5f3af6ffbb
Rename database.yml
2014-07-28 19:08:41 -05:00
bry4n
1060b5cb15
Update environments
2014-07-24 22:20:28 -05:00
bry4n
dfb9e5b46d
Rails 4.1.4
2014-07-24 20:11:49 -05:00
bry4n
4079e5dbee
Replace old asciidoc with asciidoctor gem
2014-06-19 21:57:41 -05:00
Jeff King
d669f6c6ed
add trademark policy at /trademark
...
This policy was written by Software Freedom Conservancy's
legal counsel on behalf of the Git Project. It needs to be
posted publicly; this patch starts by making it available,
and we'll link to it in future commits.
2014-05-06 19:18:56 -04:00
bry4n
0c9707393c
Handle old book site's url path
2014-01-21 21:00:08 -06:00
bry4n
f90c80e092
Test
2013-11-25 20:51:56 -06:00
bry4n
0ace2acd76
Add stuffs for Heroku
2013-11-25 20:37:33 -06:00
bry4n
fbc431f13d
Use Unicorn
2013-11-23 18:34:29 -06:00
bry4n
8c5e8ab25c
Include compiled assets
2013-11-19 19:36:09 -06:00
Max Edmands
fe0e16aec1
Add RSS feed for blog
2013-08-08 00:19:59 -07:00
Scott Chacon
aff1fd7ae4
add in older slugs which were there for a reason
2013-05-05 10:18:14 +02:00
Diogo André
bab365e239
Blog entries are visible again.Also making some small changes to blog structure.
...
We can keep adding blog posts by just adding .markdown or .html files to the app/view/blog/posts directory (it was blog/progit before).
2013-04-10 11:54:26 -03:00
Scott Chacon
9044838294
contributors redirect to github
2012-12-14 10:38:18 -08:00
bry4n
1f3b660c82
update book routes
2012-09-24 09:14:07 -05:00
bry4n
25563fcdd1
refactor blog controller & add blog presenter
2012-09-20 17:49:56 -05:00
bry4n
ed18f4ea85
refactor download routes
2012-08-07 02:00:45 -05:00
bry4n
936bc5db29
partially clean up the routes for downloads and blog page
2012-07-31 00:51:59 -05:00
bry4n
ef01c37b0c
move some codes to books controller
2012-07-23 21:34:51 -05:00
bry4n
66dbedf5bc
Fix failing search tests
2012-07-10 20:32:25 -05:00
bry4n
a5ced93d42
using Tire gem for DRYing up the search codes
2012-07-10 00:58:28 -05:00
Scott Chacon
53bade4969
search url changed, dont error on empty responses
2012-07-03 07:56:17 -07:00
Scott Chacon
d278bdeb22
change search index
2012-07-03 07:23:06 -07:00
bry4n
9bbd8c06ff
Add .travis.yml
2012-06-27 11:12:54 -05:00
Linquize
6f034b252f
Add git-clean to menus under Administration category
2012-06-10 12:46:28 +08:00
Scott Chacon
efafc986be
route for easily getting the latest git version
...
$ curl http://git-scm.com/downloads/latest
1.7.10.2
2012-05-30 06:39:39 -07:00
Nick Hengeveld
bb29347f71
Handle doc routes with '.' (eg. gitweb.conf)
2012-05-17 17:00:46 -07:00
Scott Chacon
a21a0269dd
add git as a man path to fix #110
2012-05-14 17:37:29 -07:00
Scott Chacon
95d21703a8
Merge pull request #99 from koraktor/man-route
...
Added route for /man/*
2012-05-11 14:05:21 -07:00
Sebastian Staudt
55e6a5e015
Let /man/* and /ref/* redirect to /docs/*
2012-05-11 22:54:12 +02:00
Sebastian Staudt
2a477b4d0a
Added route for /man/*
2012-05-11 22:50:02 +02:00
Sebastian Staudt
e93b1f16b2
Prepend 'git-' to man pages
...
This allows for shorter URLs like /docs/commit that will redirect to the
correct ones.
2012-05-11 22:49:26 +02:00
Scott Chacon
f844ada98d
a couple of redirects
2012-05-07 08:14:03 -07:00
Scott Chacon
3a2489be7e
add video listing and viewing for the first 4 videos
2012-05-03 16:39:44 -07:00
Scott Chacon
2fbed0eff9
redirect community book urls
2012-05-02 18:19:37 -07:00
Scott Chacon
ea4530a28e
move selectivizr out of asset pipeline
2012-05-02 16:54:38 -07:00
Scott Chacon
147908e814
pretty sure this host based routing will work
2012-05-02 12:13:28 -07:00
Scott Chacon
ddb504cbc5
add errors.css to precompile list
2012-05-02 12:13:28 -07:00
Scott Chacon
a719de1c94
svn crash course and sfc donate page ported
2012-05-02 12:13:27 -07:00
Scott Chacon
563abe2320
better section slug
2012-05-02 12:13:27 -07:00
Scott Chacon
01761bfdd9
exceptional in the app
2012-05-02 12:13:21 -07:00
Scott Chacon
b6d341c0a2
first graphs and new services
2012-05-02 12:13:21 -07:00
Scott Chacon
fb8d9d7bde
change to docs/
2012-05-02 12:13:21 -07:00
Scott Chacon
0957bd2d9e
getting close - add mod-tests to precompile list
2012-05-02 12:13:21 -07:00
Scott Chacon
291fabc0a3
create related items remotely
2012-05-02 12:11:36 -07:00
Scott Chacon
5bdcd37030
initial version of commands index using the related data
2012-05-02 12:11:35 -07:00
Scott Chacon
1435ea2be0
full search results page hooked up
2012-05-02 12:11:35 -07:00
Scott Chacon
d163ca4aa6
import all the progit blog posts
2012-05-02 12:11:29 -07:00
Scott Chacon
386216df6d
progit.org style urls work now
2012-05-02 12:11:29 -07:00
Scott Chacon
01998ea37b
fix about page refresh
2012-05-02 12:11:28 -07:00
Scott Chacon
a0f1f6e261
initial book integration working
...
* rake task posts updated content to the site
* creates/updates entries
* indexes entries for search
* displays toc and sections from db content
2012-05-02 12:11:12 -07:00
Scott Chacon
8a7219a610
start of book work
2012-05-02 12:11:11 -07:00
Scott Chacon
86ea2a05c2
admin placeholder and example doc for inspection
2012-05-02 12:11:11 -07:00
Scott Chacon
97bc298a6a
implement ref version dropdown
2012-05-02 12:11:11 -07:00
Scott Chacon
540a134a25
add gui options to download landing page
2012-05-02 12:08:39 -07:00
Scott Chacon
8ff988c579
basic download page functionality - mac/win/lin
2012-05-02 12:08:39 -07:00
Scott Chacon
842c8e6d60
linked up downloads area, fix sidebar highlighting
2012-05-02 12:08:39 -07:00
Scott Chacon
0a832a1fd6
starting to hook up about, community, downloads
2012-05-02 12:08:38 -07:00
Scott Chacon
98e95d6a54
add session info
2012-05-02 12:08:24 -07:00
Scott Chacon
3a83058bb3
previous releases dropdown
2012-05-02 12:08:24 -07:00
Scott Chacon
8a4829df46
linkify the external links page
2012-05-02 12:08:23 -07:00
Nick Hengeveld
c2e4f841a3
App updates for finding/displaying the right doc
...
* model updates to find the current/specified version of a man page
* controller updates to load up the right doc
* view updates to display the pregenerated HTML
* tests
2012-05-02 12:08:22 -07:00
Scott Chacon
8839ec5eed
basic search functionality
2012-05-02 12:08:22 -07:00
Scott Chacon
b4fc467b9d
pulled in jasons changes, moving to using his haml directly
2012-03-29 16:42:33 -07:00
Scott Chacon
d84f5fa3b3
add elasticsearch and initial doc indexing
2012-03-26 11:51:24 -07:00
Scott Chacon
d2ac21600c
mock designs in place
2012-03-20 15:44:49 -07:00
Scott Chacon
554c978862
is this the best way to do this?
2012-03-13 13:59:35 -07:00
Scott Chacon
8850cc635d
started docs stuff
2012-03-08 10:54:25 -08:00
Scott Chacon
d04f24a686
add basic doc db structure and task to fill them from disk
2012-03-08 09:09:45 -08:00
Scott Chacon
6d9e268fb1
setting up
2012-03-06 09:15:36 -08:00
Scott Chacon
a451b57a30
rails gen
2012-03-06 08:52:03 -08:00