Skip to content
experimental lodash docs (see jldec/lodash-doc-src)
HTML JavaScript CSS
Find file
Latest commit 51e1df0 @jldec tweak nav/scroll on mobile
Failed to load latest commit information.
css tweak nav/scroll on mobile
fonts init doc-2
images init doc-2
js tweak nav/scroll on mobile
server init doc-2
.gitignore css and lodash header - see lodash/lodash.github.io#8
.nojekyll init doc-2
404.html toggle nav
CNAME init doc-2
README.md update with latest lodash:master
VERSION.html toggle nav
_.html toggle nav
add.html toggle nav
after.html toggle nav
all.html toggle nav
ary.html toggle nav
assign.html toggle nav
assignIn.html toggle nav
assignInWith.html toggle nav
assignWith.html toggle nav
at.html toggle nav
attempt.html toggle nav
before.html toggle nav
bind.html toggle nav
bindAll.html toggle nav
bindKey.html toggle nav
camelCase.html toggle nav
capitalize.html toggle nav
ceil.html toggle nav
chain.html toggle nav
chunk.html toggle nav
clamp.html toggle nav
clone.html toggle nav
cloneDeep.html toggle nav
cloneDeepWith.html toggle nav
cloneWith.html toggle nav
compact.html toggle nav
conforms.html toggle nav
conj.html toggle nav
constant.html toggle nav
countBy.html toggle nav
create.html toggle nav
curry.html toggle nav
curryRight.html toggle nav
custom-builds.html toggle nav
debounce.html toggle nav
deburr.html toggle nav
defaults.html toggle nav
defaultsDeep.html toggle nav
defer.html toggle nav
delay.html toggle nav
difference.html toggle nav
differenceBy.html toggle nav
differenceWith.html toggle nav
disj.html toggle nav
drop.html toggle nav
dropRight.html toggle nav
dropRightWhile.html toggle nav
dropWhile.html toggle nav
endsWith.html toggle nav
eq.html toggle nav
escape.html toggle nav
escapeRegExp.html toggle nav
every.html toggle nav
fill.html toggle nav
filter.html toggle nav
find.html toggle nav
findIndex.html toggle nav
findKey.html toggle nav
findLast.html toggle nav
findLastIndex.html toggle nav
findLastKey.html toggle nav
flatten.html toggle nav
flattenDeep.html toggle nav
flip.html toggle nav
floor.html toggle nav
flow.html toggle nav
flowRight.html toggle nav
forEach.html toggle nav
forEachRight.html toggle nav
forIn.html toggle nav
forInRight.html toggle nav
forOwn.html toggle nav
forOwnRight.html toggle nav
functions.html toggle nav
functionsIn.html toggle nav
get.html toggle nav
getting-started.html toggle nav
github-btn.html init doc-2
groupBy.html toggle nav
gt.html toggle nav
gte.html toggle nav
has.html toggle nav
hasIn.html toggle nav
head.html toggle nav
identity.html toggle nav
inRange.html toggle nav
includes.html toggle nav
index.html toggle nav
indexOf.html toggle nav
initial.html toggle nav
intersection.html toggle nav
intersectionBy.html toggle nav
intersectionWith.html toggle nav
invert.html toggle nav
invoke.html toggle nav
isArguments.html toggle nav
isArray.html toggle nav
isArrayLike.html toggle nav
isArrayLikeObject.html toggle nav
isBoolean.html toggle nav
isDate.html toggle nav
isElement.html toggle nav
isEmpty.html toggle nav
isEqual.html toggle nav
isEqualWith.html toggle nav
isError.html toggle nav
isFinite.html toggle nav
isFunction.html toggle nav
isInteger.html toggle nav
isLength.html toggle nav
isMatch.html toggle nav
isMatchWith.html toggle nav
isNaN.html toggle nav
isNative.html toggle nav
isNil.html toggle nav
isNull.html toggle nav
isNumber.html toggle nav
isObject.html toggle nav
isObjectLike.html toggle nav
isPlainObject.html toggle nav
isRegExp.html toggle nav
isSafeInteger.html toggle nav
isString.html toggle nav
isTypedArray.html toggle nav
isUndefined.html toggle nav
iteratee.html toggle nav
juxt.html toggle nav
kebabCase.html toggle nav
keyBy.html toggle nav
keys.html toggle nav
keysIn.html toggle nav
last.html toggle nav
lastIndexOf.html toggle nav
lowerCase.html toggle nav
lowerFirst.html toggle nav
lt.html toggle nav
lte.html toggle nav
map.html toggle nav
mapKeys.html toggle nav
mapValues.html toggle nav
matches.html toggle nav
matchesProperty.html toggle nav
max.html toggle nav
maxBy.html toggle nav
memoize.html toggle nav
merge.html toggle nav
mergeWith.html toggle nav
method.html toggle nav
methodOf.html toggle nav
min.html toggle nav
minBy.html toggle nav
mixin.html toggle nav
modArgs.html toggle nav
modArgsSet.html toggle nav
negate.html toggle nav
noConflict.html toggle nav
noop.html toggle nav
now.html toggle nav
nthArg.html toggle nav
omit.html toggle nav
omitBy.html toggle nav
once.html toggle nav
pad.html toggle nav
padLeft.html toggle nav
padRight.html toggle nav
pages.json toggle nav
pairs.html toggle nav
pairsIn.html toggle nav
parseInt.html toggle nav
partial.html toggle nav
partialRight.html toggle nav
partition.html toggle nav
pick.html toggle nav
pickBy.html toggle nav
property.html toggle nav
propertyOf.html toggle nav
prototype-Symbol-iterator.html toggle nav
prototype-chain.html toggle nav
prototype-commit.html toggle nav
prototype-concat.html toggle nav
prototype-next.html toggle nav
prototype-plant.html toggle nav
prototype-reverse.html toggle nav
prototype-value.html toggle nav
pull.html toggle nav
pullAll.html toggle nav
pullAllBy.html toggle nav
pullAt.html toggle nav
random.html toggle nav
range.html toggle nav
rearg.html toggle nav
reduce.html toggle nav
reduceRight.html toggle nav
reject.html toggle nav
remove.html toggle nav
repeat.html toggle nav
rest.html toggle nav
result.html toggle nav
robots.txt init doc-2
round.html toggle nav
runInContext.html toggle nav
sample.html toggle nav
sampleSize.html toggle nav
set.html toggle nav
setWith.html toggle nav
shuffle.html toggle nav
sitemap.xml toggle nav
size.html toggle nav
slice.html toggle nav
snakeCase.html toggle nav
some.html toggle nav
sortBy.html toggle nav
sortByOrder.html toggle nav
sortedIndex.html toggle nav
sortedIndexBy.html toggle nav
sortedIndexOf.html toggle nav
sortedLastIndex.html toggle nav
sortedLastIndexBy.html toggle nav
sortedLastIndexOf.html toggle nav
sortedUniq.html toggle nav
sortedUniqBy.html toggle nav
spread.html toggle nav
startCase.html toggle nav
startsWith.html toggle nav
stringSize.html toggle nav
subtract.html toggle nav
sum.html toggle nav
sumBy.html toggle nav
tail.html toggle nav
take.html toggle nav
takeRight.html toggle nav
takeRightWhile.html toggle nav
takeWhile.html toggle nav
tap.html toggle nav
template.html toggle nav
templateSettings-escape.html toggle nav
templateSettings-evaluate.html toggle nav
templateSettings-imports-_.html toggle nav
templateSettings-imports.html toggle nav
templateSettings-interpolate.html toggle nav
templateSettings-variable.html toggle nav
templateSettings.html toggle nav
throttle.html toggle nav
thru.html toggle nav
times.html toggle nav
toArray.html toggle nav
toInteger.html toggle nav
toLength.html toggle nav
toLower.html toggle nav
toNumber.html toggle nav
toPath.html toggle nav
toPlainObject.html toggle nav
toSafeInteger.html toggle nav
toString.html toggle nav
toUpper.html toggle nav
transform.html toggle nav
trim.html toggle nav
trimLeft.html toggle nav
trimRight.html toggle nav
truncate.html toggle nav
unary.html toggle nav
unescape.html toggle nav
union.html toggle nav
unionBy.html toggle nav
unionWith.html toggle nav
uniq.html toggle nav
uniqBy.html toggle nav
uniqWith.html toggle nav
uniqueId.html toggle nav
unset.html toggle nav
unzip.html toggle nav
unzipWith.html toggle nav
upperCase.html toggle nav
upperFirst.html toggle nav
values.html toggle nav
valuesIn.html toggle nav
without.html toggle nav
words.html toggle nav
wrap.html toggle nav
xor.html toggle nav
xorBy.html toggle nav
xorWith.html toggle nav
zip.html toggle nav
zipObject.html toggle nav
zipWith.html toggle nav

README.md

lodash doc

https://jldec.github.io/lodash-doc-2

This is a trial doc website for lodash, generated from markdown using pub-server

To edit the site locally, clone https://github.com/jldec/lodash-doc-src, then

npm install

pub-config.js points to the lodash source code in '../../lodash/lodash/lodash.js'. Either modify pub-config to point to the actual source location, or clone lodash to match this.

To generate the doc site and preview at http://localhost:3001/ while you edit

npm run develop

The browser preview will auto-reload whenever you save a file.

To generate a new set of html and copy static files into ./out.

npm run generate

To preview the generated static output at http://localhost:3001/

npm run static

To publish to gh-pages, use a separate repo with just a gh-pages branch in the ./out directory. To set this up the first time:

cd out
git init
git add -A
git commit -m 'first pub-server output'
git branch -m gh-pages

The last step above just renames the default "master" branch to "gh-pages".

Follow the normal process to create a new repo on Gitub and use the suggested commands for intializing that with an existing repo, except when you git push -u the first time, replace "master" with "gh-pages".

git remote add origin https://github.com/<id>/<repo>.git
git push -u origin gh-pages
Something went wrong with that request. Please try again.