summaryrefslogtreecommitdiff
path: root/doc/template.html
AgeCommit message (Collapse)Author
2019-09-26doc: specify `display=fallback` for Google FontsXhmikosR
PR-URL: https://github.com/nodejs/node/pull/29688 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2018-10-04doc: remove GA trackingBen Noordhuis
The Google Analytics tracking wasn't wholly uncontroversial and hasn't been used in practice. Remove it. PR-URL: https://github.com/nodejs/node/pull/23083 Fixes: https://github.com/nodejs/node/issues/22652 Refs: https://github.com/nodejs/node/pull/6601 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
2018-07-13doc: add "Edit on GitHub" linkRich Trott
Proof of concept for an "Edit on GitHub" link, inspired by the Serverless docs. One issue is that the link is to the version of the docs on the master branch even if the person was reading a different version of the doc. I don't consider that a big problem, although we can always remove the link if it turns out to be a big problem. I don't think there is a good solution. PRs need to be opened against the master branch generally. Having a bunch of PRs against staging branches is probably not what we want. If there's an update to one version of the doc, there will usually be an update to other versions. PR-URL: https://github.com/nodejs/node/pull/21703 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Roman Reiss <me@silverwind.io>
2017-10-10doc: responsive docs, rewrite font sizessilverwind
This makes the docs much more mobile-friendly by adding a viewport meta tag which makes mobile browers properly scale fonts. Additionally the font sizes have been cleaned up to use `rem` units where possible. Also included are some fixes for the version dropdown. PR-URL: https://github.com/nodejs/node/pull/15660 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2017-09-19doc: prevent displaying empty version pickerChris Young
PR-URL: https://github.com/nodejs/node/pull/15420 Fixes: https://github.com/nodejs/node/issues/15396 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-08-28doc: add links to alternative versions of docChris Young
Each page of the API documentation should have links to other versions of the same page. This will make it easier to switch between the current "live" release at nodejs.org and LTS versions. PR-URL: https://github.com/nodejs/node/pull/10958 Fixes: https://github.com/nodejs/node/issues/10726 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-01-25tools,doc: add Google Analytics tracking.Phillip Johnsen
Adds Google Analytics tracking script to all doc pages when `DOCS_ANALYTICS` is set when running `make`: ```bash $ DOCS_ANALYTICS=<GOOGLE ANALYTICS ID> make ``` By default (when `DOCS_ANALYTICS` is not set), no tracking scripts are included. It respects "Do Not Track" settings end users might have in their browser. Also changes make target `doc-upload` from depending on the `$(TARBALL)` target, to only depend on `doc` directly. PR-URL: https://github.com/nodejs/node/pull/6601 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2016-08-04doctool: improve the title of pages in docyorkie
PR-URL: https://github.com/nodejs/node/pull/7939 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
2016-04-29doc: no Node.js(1)Jeremiah Senkpiel
Node.js(1) does not make sense. Node(1) would, but this isn’t a `man` page. PR-URL: https://github.com/nodejs/node/pull/6167 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
2016-02-14doc: improve scrolling, various CSS tweaksRoman Reiss
- Made scrolling of the sidebar not affect the main page by using a combination of overflow:hidden and overflow:scroll. - Changed the scrollbar of the sidebar to be visible again for accessibilty reasons and removed the indication gradient because it was causing too much issues. - In WebKit-based browsers, the scrollbar received custom styling making it appear to be outside of the sidebar. - The main content is no longer limited to 702px width, but now uses all available space. - Changed the background of the code blocks to a very similar, but neutral color and made inline blocks the same color. - Made inline code blocks inside italic sections not italic. - Simplified styling of api_stability classes by introducing a common class name for the stability levels. - Fixed various issues related to the green hover background on links. - Fixed code box overflow outside the main content area. - Various minor tweaks to paddings and margins. - Cleaned up numbers in the stylesheet, removing unnecessary units, decimals and empty selectors. PR-URL: https://github.com/nodejs/node/pull/5198 Reviewed-By: James M Snell <jasnell@gmail.com>
2016-01-23doc: style fixes for the TOCRoman Reiss
- Hide the scrollbar on the TOC on all browsers. It was never the intention for it to be visible with the scroll indication in place. A wrapper element with 20px padding was added to accommodate for hopefully all scrollbar widths as well as to avoid overflowing content. - Fixed the scroll indication gradient on Safari, which was caused by the wrong from-color, which now matches the to-color. - Fixed a issue in old IE where the TOC didn't render on the correct position through setting `left: 0` and `top: 0` on it. PR-URL: https://github.com/nodejs/node/pull/4748 Reviewed-By: James M Snell <jasnell@gmail.com>
2016-01-11doc: update stylesheet to match frontpageRoman Reiss
- Changed colors to match frontpage as close as possible. - Links are slightly more horizontally padded as compared before to accomodate for the hover effect. - Slightly reduced the scroll indication height on the TOC. - The main content is now offset using margin instead of the previous border hack. - remove empty footer that was rendering a dark bar on the bottom of each page without any content. PR-URL: https://github.com/nodejs/node/pull/4621 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
2015-08-23node: rename from io.js to nodecjihrig
This commit replaces instances of io.js with Node.js, based on the recent convergence. There are some remaining instances of io.js, related to build and the installer. Fixes: https://github.com/nodejs/node/issues/2361 PR-URL: https://github.com/nodejs/node/pull/2367 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
2015-01-15doc: fix 404s for syntax highlighting jsPhil Hughes
Updated Makefile to remove special casing for those files, and moved the files to doc/api_assets. Fixes: https://github.com/iojs/iojs.github.io/issues/51 PR-URL: https://github.com/iojs/io.js/pull/409 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-01-14doc: fix mixed content issuesMathias Bynens
Explicitly specify "https" over "http" for linked CSS. Fixup indentation and quoting issues. PR-URL: https://github.com/iojs/io.js/pull/379 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-01-12doc: update style for iojsChris Dickinson
* updates the styling for the iojs docs * pulls the processing step for markdown files into a separate module * adds the ability to insert comments into the markdown PR-URL: https://github.com/iojs/io.js/pull/297 Fixes: https://github.com/iojs/iojs.github.io/issues/23 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2013-05-09doc: s/search.npmjs.org/npmjs.org/isaacs
2013-05-02doc: link joyent logo in website footerisaacs
2012-08-15website: download pageGolo Roden
- Improved styling of download links. - index.html#download now redirects to /download/ - Added missing hyphens, and added the missing "and 64-bit" for the Mac Installer.
2012-06-23docs: Switch to the asynchronous Google Analytics snippetMathias Bynens
The old snippet needlessly uses `document.write`. Let’s use the optimized version of the most recent, asynchronous GA snippet: http://mathiasbynens.be/notes/async-analytics-snippet
2012-03-16doc: Remove extraneous index.html's from hyperlinksisaacs
2012-03-16Remove hard-coded version number from docsisaacs
2012-03-152012.03.15 Version 0.6.13 (stable)isaacs
* Windows: Many libuv test fixes (Bert Belder) * Windows: avoid uv_guess_handle crash in when fd < 0 (Bert Belder) * Map EBUSY and ENOTEMPTY errors (Bert Belder) * Windows: include syscall in fs errors (Bert Belder) * Fix fs.watch ENOSYS on Linux kernel version mismatch (Ben Noordhuis) * Update npm to 1.1.9 - upgrade node-gyp to 0.3.5 (Nathan Rajlich) - Fix isaacs/npm#2249 Add cache-max and cache-min configs - Properly redirect across https/http registry requests - log config usage if undefined key in set function (Kris Windham) - Add support for os/cpu fields in package.json (Adam Blackburn) - Automatically node-gyp packages containing a binding.gyp - Fix failures unpacking in UNC shares - Never create un-listable directories - Handle cases where an optionalDependency fails to build
2012-03-14Doc highlight fixArtur Adib
2012-03-03Use shorter url for /docs/latest/apiisaacs
2012-03-03doc: Add link to JSON version of docisaacs
2012-02-29Update template to use new token styleisaacs
Conflicts: doc/template.html
2012-02-29docs: Move images out of the dist tarballisaacs
This puts all images in doc/images/ and references them via http://nodejs.org/images/. Any complaints about copyright usage etc. can thus be node/joyent's problem, rather than the problem of a downstream distribution channel. Conflicts: Makefile
2012-02-172012.02.17 Version 0.6.11 (stable)isaacs
* http: allow multiple WebSocket RFC6455 headers (Einar Otto Stangvik) * http: allow multiple WWW-Authenticate headers (Ben Noordhuis) * windows: support unicode argv and environment variables (Bert Belder) * tls: mitigate session renegotiation attacks (Ben Noordhuis) * tcp, pipe: don't assert on uv_accept() errors (Ben Noordhuis) * tls: Allow establishing secure connection on the existing socket (koichik) * dgram: handle close of dgram socket before DNS lookup completes (Seth Fitzsimmons) * windows: Support half-duplex pipes (Igor Zinkovsky) * build: disable omit-frame-pointer on solaris systems (Dave Pacheco) * debugger: fix --debug-brk (Ben Noordhuis) * net: fix large file downloads failing (koichik) * fs: fix ReadStream failure to read from existing fd (Christopher Jeffrey) * net: destroy socket on DNS error (Stefan Rusu) * dtrace: add missing translator (Dave Pacheco) * unix: don't flush tty on switch to raw mode (Ben Noordhuis) * windows: reset brightness when reverting to default text color (Bert Belder) * npm: update to 1.1.1 - Update which, fstream, mkdirp, request, and rimraf - Fix #2123 Set path properly for lifecycle scripts on windows - Mark the root as seen, so we don't recurse into it. Fixes #1838. (Martin Cooper)
2012-02-022012.02.02, Version 0.6.10 (stable)isaacs
* Update V8 to 3.6.6.20 * Add npm msysgit bash shim to msi installer (isaacs) * buffers: fix intermittent out of bounds error (Ben Noordhuis) * buffers: honor length argument in base64 decoder (Ben Noordhuis) * windows: Fix path.exists regression (Bert Belder) * Make QueryString.parse run faster (Philip Tellis) * http: avoid freeing http-parser objects too early (koichik) * timers: add v0.4 compatibility hack (Ben Noordhuis) * Proper EPERM error code support (Igor Zinkovsky, Brandon Philips) * dgram: Implement udp multicast methods on windows (Bert Belder)
2012-01-272012.01.27, Version 0.6.9 (stable)isaacs
* dgram: Bring back missing functionality for Unix (Dan VerWeire, Roman Shtylman, Ben Noordnuis) - Note: Windows UDP support not yet complete. * http: Fix parser memory leak (koichik) * zlib: Fix #2365 crashes on invalid input (Nicolas LaCasse) * module: fix --debug-brk on symlinked scripts (Fedor Indutny) * Documentation Restyling (Matthew Fitzsimmons) * Update npm to 1.1.0-3 (isaacs) * Windows: fix regression in stat() calls to C:\ (Bert Belder)
2012-01-23doc: trademark link must be absoluteisaacs
2012-01-23doc: Pixel-nudgingisaacs
2012-01-23Nodejs.org design refresh.Matthew Fitzsimmons
2012-01-192012.01.19, Version 0.6.8 (stable)isaacs
* Update V8 to 3.6.6.19 * Numeric key hash collision fix for V8 (Erik Corry, Fedor Indutny) * Add missing TTY key translations for F1-F5 on Windows (Brandon Benvie) * path.extname bugfix with . and .. paths (Bert Belder) * cluster: don't always kill the master on uncaughtException (Ben * Noordhuis) * Update npm to 1.1.0-2 (isaacs) * typed arrays: set class name (Ben Noordhuis) * zlib binding cleanup (isaacs, Bert Belder) * dgram: use slab memory allocator (Michael Bernstein) * fix segfault #2473
2012-01-062012.01.06, Version 0.6.7 (stable)isaacs
* V8 hash collision fix (Breaks MIPS) (Bert Belder, Erik Corry) * Upgrade V8 to 3.6.6.15 * Upgrade npm to 1.1.0-beta-10 (isaacs) * many doc updates (Ben Noordhuis, Jeremy Martin, koichik, Dave Irvine, Seong-Rak Choi, Shannen, Adam Malcontenti-Wilson, koichik) * Fix segfault in node_http_parser.cc * dgram, timers: fix memory leaks (Ben Noordhuis, Yoshihiro Kukuchi) * repl: fix repl.start not passing the `ignoreUndefined` arg (Damon Oehlman) * #1980: Socket.pause null reference when called on a closed Stream (koichik) * #2263: XMLHttpRequest piped in a writable file stream hang (koichik) * #2069: http resource leak (koichik) * buffer.readInt global pollution fix (Phil Sung) * timers: fix performance regression (Ben Noordhuis) * #2308, #2246: node swallows openssl error on request (koichik) * #2114: timers: remove _idleTimeout from item in .unenroll() (James Hartig) * #2379: debugger: Request backtrace w/o refs (Fedor Indutny) * simple DTrace ustack helper (Dave Pacheco) * crypto: rewrite HexDecode without snprintf (Roman Shtylman) * crypto: don't ignore DH init errors (Ben Noordhuis)
2011-12-22docs: fix javascript error on document pageSeong-Rak Choi
`highlight()` is called twice. It causes following javascript error. > Uncaught Found <pre> element with class="sh_sourcecode", > but no such language exists Fixes #2393.
2011-12-22docs: use "Level 1" HTML5 featuresShannen
Since we're using an HTML doctype we might as well use "Level 1" HTML5 features. See more: http://mathiasbynens.be/notes/html5-levels#level-1 Fixes #2386.
2011-12-152011.12.14, Version 0.6.6 (stable)isaacs
* npm update to 1.1.0-beta-4 (Isaac Z. Schlueter) * cli: fix output of --help (Ben Noordhuis) * new website * pause/resume semantics for stdin (Isaac Z. Schlueter) * Travis CI integration (Maciej Małecki) * child_process: Fix bug regarding closed stdin (Ben Noordhuis) * Enable upgrades in MSI. (Igor Zinkovsky) * net: Fixes memory leak (Ben Noordhuis) * fs: handle fractional or NaN ReadStream buffer size (Ben Noordhuis) * crypto: fix memory leaks in PBKDF2 error path (Ben Noordhuis)
2011-12-12Website js/css tweaksisaacs
Remove jquery Use HTML5 doctype Simpler clearfix implementation Close download dialog with <Esc> key
2011-12-05Add analytics tracking to docsRyan Dahl
2011-12-04Bump version to v0.6.5Ryan Dahl
2011-12-02Bump version to v0.6.4Ben Noordhuis
2011-11-30Docs template: HTML cleanupMathias Bynens
Remove references to `/favicon.ico` as it’s the default in all browsers. More info: http://mathiasbynens.be/notes/rel-shortcut-icon `type=text/css` and `media=all` are the implied defaults for `<link rel=stylesheet>` (and `<style>`), so omit these attributes. Similarly, `type=text/javascript` is the default for `<script>` elements, so omit these attributes.
2011-11-28docs: add rel="canonical" link to latest API docsBen Noordhuis
2011-11-25Bump version to v0.6.3Bert Belder
2011-11-18Bump version to v0.6.2Ben Noordhuis
2011-11-11Bump version to v0.6.1Ryan Dahl
2011-11-04Bump version to v0.6.0Ryan Dahl
2011-10-21Bump version to v0.5.10Ryan Dahl