Skip to content

Commit

Permalink
all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Aug 28, 2014
0 parents commit 5a27c80
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.env
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# [docs.npmjs.com](https://docs.npmjs.com)

## Development

To run this thing locally:

```
npm install
npm start
```

Open [localhost:9000](https://localhost:9000)

## Deployment

```sh
export NODE_ENV=production
```
25 changes: 25 additions & 0 deletions _layout.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
doctype html
html
head
title npm docs

meta(name="viewport" content="width=device-width, initial-scale=1")
meta(name="description" content="The place where all things npm will one day be documented")

link(href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700|Source+Code+Pro:400,600,700' rel='stylesheet' type='text/css')
link(rel='stylesheet', type='text/css', href='/styles/index.css')

block head

body

header
section
h1
img(src="/images/npm-logo.png")
= "Docs"

section
!= yield

footer
Binary file added images/npm-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# How to Do Things

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia
consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque
porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,
adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et
dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis
nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid
ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea
voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem
eum fugiat quo voluptas nulla pariatur?

## A Secondary Heading

Eaque ipsa quae ab illo inventore
veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia
consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

- foo is a thing
- bar is another
- baz with a [link](http://example.com).


## Here comes some code

```js
var doIt = function(what) {
return what.toUpperCase();
}
```
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "docs.npmjs.com",
"version": "1.0.0",
"description": "The place where all things npm will one day be documented",
"main": "index.js",
"scripts": {
"start": "harp server"
},
"repository": {
"type": "git",
"url": "https://github.com/npm/docs.npmjs.com"
},
"keywords": [
"npm",
"docs",
"documentation"
],
"author": "Zeke Sikelianos <[email protected]> (http://zeke.sikelianos.com/)",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/docs.npmjs.com/issues"
},
"homepage": "https://github.com/npm/docs.npmjs.com",
"dependencies": {
"harp": "^0.13.0"
}
}
31 changes: 31 additions & 0 deletions styles/index.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
fonts = 'Source Sans Pro', 'Lucida Grande', sans-serif
codefonts = 'Source Code Pro', 'Courier', sans-serif

npmred = #cb3837

body
font-family fonts
color #333
margin 0
padding 0

a
color npmred

header
border-top 10px solid npmred

h1
line-height 40px
vertical-align top
font-size 36px
color rgba(black, 1)
img
display inline-block
max-height 50px
margin-right 15px

section
position relative
margin 0 auto
max-width 600px

0 comments on commit 5a27c80

Please sign in to comment.