Commit Graph

46 Commits

Author SHA1 Message Date
Misty Stanley-Jones 08e7715762
Make archive easier (#5231)
* Fix archive butterbar margin-top

* Add archive script and layout
2018-01-29 16:55:37 -08:00
Josh south c02ffd661d CSS fixes for version selector, removing animations, and more (#5574)
This commit squashes 21 commits. Leaving the commit messages here for posterity.

* Activate Night Mode

- Add toggle for night mode
- Update base styles

* remove font-size

* Update _night-mode.scss

* Fix first-line indenting and color differences

* Fix rescale bug

* stuff

* Add menu fixs

* Update core pallette - light/dark mode

* Toc link padding

* Remove color cycle
Remove temp.css

* update secondary nav bg

* remove paddin-top ul left nav on med viewport
2018-01-18 12:11:07 -08:00
Sebastiaan van Stijn 32958e7c60 Improve Engine API documentation (#5607)
* Share redoc JavaScript between API versions

The redoc JavaScript is a big file, and there's no need
to keep a separate copy for each version of the API.

This patch removes the copy per-version and moves the script
to a central location.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Use central stylesheet for API reference

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Update ReDoc to v1.19.3

Changelog can be found at https://github.com/Rebilly/ReDoc/blob/v1.19.3/CHANGELOG.md

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Hide "request type" badges in menu

ReDoc 1.13 added "request type" badges in the menu
given that we didn't show these before, this patch
hides them.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Add .map file for ReDoc

Having a .map file allows debugging script issues
in the ReDoc JavaScript (which is minified).

It's a big file, but may be useful to have.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-26 12:35:10 -08:00
John Mulhausen 341fe3c666
Print fix (#5150)
* Print fix

* Update temp.css
2017-10-27 15:06:50 -07:00
Gwendolynne Barr cfc6020a0a Test image background (#5082) 2017-10-24 15:10:00 -07:00
John Mulhausen 3a3218dfbe Fixes #3338 2017-10-13 15:38:29 -07:00
Vladimir Jimenez f466f24742 Fix sidebar scrolling (#2860)
* Simplify both left and right sidebars

- Rewrite the sidebars to use the same CSS class instead of having two
  very similar classes. This involves removing all affix related
  attributes and functionality from the sidebars and replaced them with
  `position: sticky`.
- The table of content elements should not be floated
- Removed unused CSS rules related to the sidebars
- Remove JavaScript used to resize the sidebars

* Improve the mobile menu to be fixed

- Simply JS used to hide/display the navigation bar on mobile viewports
- The mobile menu should be fixed so it can be viewable from the bottom
  of the page. Before this change, you would have to scroll up to see
  the menu that `position: absolute`

* Fix disappearing top navbar on homepage

- Change the calculation of the affix offset for the navbar on the home
  page to ensure the navbar never leaves the viewport. This change also
  takes into account the change of how the sidebars' offsets are used

* Fix auto scrolling on overflow

* Add polyfill for 'position: sticky' on IE

* Fix hamburger menu at incorrect breakpoint

* Fix left nav hidden after expanding from mobile

If you expand and collapse the left nav while on mobile and expand to a
desktop view, the left nav would be hidden; this has been fixed

* Unify navbar on homepage with rest of website
2017-04-21 11:04:19 -05:00
John Mulhausen add2f680e8 Default highlight.js off, dockerfile > conf highlighting, pygments (#2757)
* Default highlight.js off, dockerfile > conf highlighting, pygments

* Address feedback, style changes, markdownify reductions

* Getting rid of more markdownify

* Fix for right-hand nav spacing
2017-04-13 17:10:29 -07:00
Joao Fernandes b6ea27dfa6 Adds style for warnings and notes 2017-04-13 14:16:23 -07:00
John Mulhausen f60c5305f5 Add Hackathon details to docs site (#2613)
* First pass

* Pass 2

* Docs hackathon rules

* Restoring night mode css
2017-04-05 09:34:27 -07:00
John Mulhausen 93e1cdf2f9 Update style.css 2017-04-03 11:31:41 -07:00
Josh south 492074c717 Various post-launch fixes (#2549)
* WIP #2052

- Adding sass
- Test components
- Night mode
- docker con banner
- archive legacy css

* add compressed css

* Update branding for cloud api docs

* split out global header

* rescale mods

* adjust viewport rescaling

* sync

* test

* testing deploy

* john rules, please update man

* test: removing all styles

* trying to make netlify work

* add min-height to sidebars

* testing

* Update style.css

manually add css

* testing

* test

* Update style.css

* adding dockercon svg

* add svgs

add svgs

* remove css

* re-add

* s/container-fluid/container
2017-03-31 16:07:37 -07:00
French Ben 84cff63189 Clear paragraphs (#2183)
* Clear paragraphs

Signed-off-by: French Ben <frenchben@docker.com>

* Moved css to temp

Signed-off-by: French Ben <frenchben@docker.com>
2017-03-07 19:58:58 -08:00
Misty Stanley-Jones 8d9e90a6cd Lots of formatting fixes to do with buttons 2017-03-02 15:51:17 -08:00
John Mulhausen 28d269bc37 Merge pull request #2070 from mstanleyjones/move-css
Put temp styles in the right place
2017-03-02 14:08:44 -08:00
Misty Stanley-Jones f55c28d2d0 Put temp styles in the right place 2017-03-02 13:19:17 -08:00
John Mulhausen c98f274423 Revert line-wrap override due to pre/code tag combo 2017-03-02 13:01:48 -08:00
Misty Stanley-Jones ef93f3ecd2 Merge pull request #2068 from mstanleyjones/fix_matrix
Fix platform matrix table
2017-03-02 12:53:19 -08:00
John Mulhausen 3e180370d0 Fix line wrapping for long code samples 2017-03-02 12:52:39 -08:00
Misty Stanley-Jones aef34f101c Fix platform matrix table 2017-03-02 12:22:31 -08:00
John Mulhausen 0d24ad1b1b Prevent inline code blocks from line-wrapping 2017-03-02 11:13:32 -08:00
Misty Stanley-Jones a840485162 Fix alignment with buttons and headings 2017-03-02 09:03:12 -08:00
Misty Stanley-Jones 0de73185af Add button background color 2017-03-02 06:48:59 -08:00
Misty Stanley-Jones 3108d86b6d Docker 17.03 release (#2050)
* First pass of tabs-based organization

* Improvements

* Second pass at tabs org

* Move tab highlighting to Liquid instead of JS

* Adding forwarding links for in-product TOCs

* Move to pre-rendered left-navs instead of post-load JS for TOC sync

* Optimizations and nosync-ing the Reference section

* Optimizations, fix Cloud YAML

* Make a "Sample applications" node

* Update index.md

* Tabs CSS fixes and 12-factor reposition

* Theme Start (#1709)

* Hooking up nav to real TOC data, formatting fixes

* Fixing JS error

* Layout updates, dark themes, tons o stuff (#1971)

* Add cookie saving for day/night mode

* Newsite tabs (#2004)

* Layout updates, dark themes, tons o stuff

* Update themes

Theme updates + scaffolding

* Update style.css

* Update style-alt.css

* Missing font fixes

* Import Open Sans from Google

* Font fix, archive removal in TOC, favicon, Feedback img fix

* Oops, returning -webkit-font-smoothing: antialiased;

* Add old favicon.ico

* Make archives a non-tiered link

* Reorder docs archive to newest-first, add local instructions

* Commenting out day/night switch for now

* Fix 'rate this page'

* Rate this page fixes

* Autocomplete and Docker Cloud fixes

* Open tree to current page

* Adding indentation for nav collapse in

* Ensure left nav visibly displays the current topic

* Update flex layout

- adjust rescale
- code block styles

* add focus to search

- force code block color (for now)
- increase section max-width

* increase content padding

- add padding to toc for wrapping long strings.

* grid adjustment

- grid
- content and wrapper adjustments for mobile

* left/right sidebar adjustments

- refine position on scroll for toc on landing

- add default height to compensate for upcoming position absolute
onScroll

* side bar overflow

- hidden on X-scroll

* fix version button

- override bstrap defaults

* tabs + buttons

* update landing svgs

* fix sidebar height

set to 100% on landing pre-affix

* Update blurb about engine/editions on front page

* add side menu to mobile collapse menu

* update classnames

* overall mobile tweaks

* Right-nav highlighting and auto-scroll

* Slightly slower right-nav highlighting, correct version

* add toggle menus for small devices

* Fixing JS error/Docker 1.13>17.03

* header updates

* re-add fan to header

* update transition time

* Add first 20 words to Twitter card

* fixed width of components

- lockdown elements on rescale (wil need more TLC)

* set max-width of content

* Left and right nav resizing w/footer scroll and window resize

* update links on landing page

* Fix for overzealous resizing, JS redundancies

* Fix for JS error on homepage

* JS error fixes

* toggle adjustments

- wrap toggle button

* add tab width

* version button type

* version button both headers

* tabs - fix typo

* landing page grid

* components

* Share images, JS fixes, Marketo removal

* Anchor links fix

* Fix for black space on mobile

* Restore hamburger (partial)

* Update run.md

Minor grammar cleanup.

* Update apparmor.md

I'm a little confused about which one is better to be used here, a period (.) or a colon (:),  as a command is given below. Or both are OK, and we only have to keep consistency in a single page.

* Update apparmor.md

Fixed the indentation for the codeblock (indented by 4 spaces). Thank you for your careful review.

* Replacing service with secret

* Update networking.md

fix typo with triple "m" for command word

* Update run.md

Address PR feedback.

* Update install instructions to latest version

* Added "related topics" section

* Add documentation for mem_swappiness

* Update to new Docker version scheme (#1926)

* mem_swappiness for current version and v1

* merge other changes, fix typo

* There is no OpenSuSE and there never was

though we had SuSE and S.u.S.E.

* Add release notes for 1.12.6-cs9 (#2028)

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

* need sudo to access key cache (#1931)

* need sudo to access key cache

* List other keyservers to try for cs-engine install (#2033)

* List other keyservers to try for cs-engine install

Sometimes ha.pool.sks-keyservers.net goes down, so let's provide some
other keyservers to try in such cases.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

* Update work_issue.md (#2030)

Change "re-start" to "restart". Though not included in "Prefered usages" in the documentation guide, but I think "restart" is better and used more frequently. Besides, some other docs here, such as "Keep containers alive during daemon downtime" of "Admin Guide", also use "restart".

* Update create_pr.md (#2015)

* Update work_issue.md (#2013)

Change "id" to "ID" except for those in code.

* Update set_up_dev.md (#2011)

Add periods (.) in some steps.

* Update set_up_dev.md (#2010)

Apply Oxford Comma as described in the documentation guide.

* Update create_pr.md (#2014)

Delete an extra space.

* Update trust_key_mng.md (#1883)

* Update trust_key_mng.md

* Update trust_key_mng.md

I don‘t know how the whitespace appears, and it seems that it appears because something happened related to its original format (right-aligned pipe characters) and my change. Still unknown. 

Now I've deleted some redundant whitespace.

* Update 

I don‘t know how the whitespace appears, and it seems that it appears because something happened related to its original format (right-aligned pipe characters) and my change. Still unknown. 

Now I've deleted some redundant whitespace.

* Update content_trust.md (#1912)

* Update content_trust.md

* update deprecation policy

Signed-off-by: Victor Vieux <victorvieux@gmail.com>

* Update info about how to check whether Docker is running

* Updated docs to reflect edge channel

Signed-off-by: French Ben <frenchben@docker.com>

* Updated wording for SP creation

Signed-off-by: French Ben <frenchben@docker.com>

* beta to edge, cloud features first draft

added cloud images

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Distinguish between cloud stack file and stack file

* Added EE links

Signed-off-by: French Ben <frenchben@docker.com>

* Use variables

Signed-off-by: French Ben <frenchben@docker.com>

* Replace deprecated MAINTAINER with LABEL (#1445)

Replace MAINTAINER instruction with LABEL as MAINTAINER was deprecated in https://github.com/docker/docker/pull/25466

* Updates for Docker CE and Docker EE

* Updated DDC launch button

Signed-off-by: French Ben <frenchben@docker.com>

* added Docker Cloud topics for Mac and Windows

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* d4mac, d4win stable and beta release notes for 17.03.0

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-03-02 05:54:49 -08:00
John Mulhausen b513ecde18 Tabs-based organization (#1420)
* First pass of tabs-based organization

* Improvements

* Second pass at tabs org

* Move tab highlighting to Liquid instead of JS

* Adding forwarding links for in-product TOCs

* Move to pre-rendered left-navs instead of post-load JS for TOC sync

* Optimizations and nosync-ing the Reference section

* Optimizations, fix Cloud YAML

* Make a "Sample applications" node

* Tabs CSS fixes and 12-factor reposition

* Fix auto-complete left-padding

* Fix auto-complete right-padding (for symmetry)

* Fix for no left-nav on Compose file

* Fix weird wrapping on smaller screens for tabs

* reorganized d4mac, d4win per tabs structure, split out install guides

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Update reference urls to latest DDC version

* Reintroduces changes ebe778b..9abc9e to TOC

* Update allpagelinks.md

* hid the on-page TOC's for d4mac d4win topics as needed

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Add a Hopscotch tour of the new navigation
2017-02-15 17:23:45 -08:00
Misty Stanley-Jones 284daa8bef Fix left-hand nav font re-render on page load 2017-02-03 10:15:40 -08:00
John Mulhausen 225c2fdaaa Revert "Fix left-hand nav font re-render on page load (#1483)"
This reverts commit ced8418c35.
2017-02-03 00:46:53 -08:00
Misty Stanley-Jones ced8418c35 Fix left-hand nav font re-render on page load (#1483) 2017-02-02 22:56:42 -08:00
Misty Stanley-Jones 01e5be5a01 Various Jekyll optimizations (#1487)
Add `tree: true|false` front-matter key (default to true)
to disable the left-hand nav tree on a per-page basis

Disabling the tree also disables reading time

Disabled tree on search, sorry, thank-you-subscribing-docker-weekly

Use null layout for allpagelinks.md and limit it to pages that have a title
(which leaves out redirects, which are not real pages)

Add site-generation date and time to footer, in a tiny unobtrusive font
2017-02-02 22:56:02 -08:00
Misty Stanley-Jones 8d3145ff3b Add an automatic TOC to pages that don't have no_toc in front-matter 2017-02-01 19:49:07 -08:00
Victoria Bialas bca73cf18f removed un-needed documentation css
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-01-28 17:05:54 -08:00
Victoria Bialas 392e93a277 WIP: graphical and format updates for workflow steps on home page
simplified the workflow title

WIP: graphical and format updates for workflow steps on home page

working on better formatting for subtopic bullets

formatting updates and wording tweaks to workflow on home page

wording tweak on app tutorial where to learn more

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-01-28 16:39:53 -08:00
Victoria Bialas 9adbe01bda getting started button format update, voting app services topic intro
added more concept definitions to intro topics

copy edit to clarify something

changed topic title

updated topic title in TOC as well

text formatting, re-push for new Jenkins

fixed installer download buttons in Getting Startd to specify a button type

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-01-25 15:10:01 -08:00
John Mulhausen 394959c405 Adds DockerCon 2017 logo 2017-01-20 17:22:05 -08:00
Joao Fernandes 9111a3231e Update DDC screenshots, christmas cleaning 2016-12-18 20:55:47 -08:00
Victoria Bialas 7ce29c9a76 Merge pull request #817 from londoncalling/banner-for-old-swarm-docs
added advisory banner to legacy swarm docs w/links to swarm mode
2016-12-06 23:08:17 -08:00
Victoria Bialas 59c5544d8b added advisory banner to legacy swarm docs w/links to swarm mode
copyedit

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2016-12-06 17:03:45 -08:00
John Mulhausen 53ec54f84c Initial pass of autocomplete; removal of detritus (#723)
* Initial pass of autocomplete; removal of detritus

* Update menu.js

* Added arrow-based navigation

* CSS fixes

* Add ranking to autocomplete result matching

* Shorten 'see all' text

* Filter for less-than-three
2016-12-06 16:39:04 -08:00
Misty Stanley-Jones 2c1cd1d565 Merge pull request #508 from mstanleyjones/try_implementing_reading_time
Implement per-page reading-time stats
2016-11-30 10:35:46 -08:00
Misty Stanley-Jones 1cb25b912b Implement per-page reading-time stats
Does not rely on Jekyll plugin but uses pure Liquid
Included basic CSS

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2016-11-30 10:29:51 -08:00
John Mulhausen 2d730c0354 Fix for flickering blue mobile menu 2016-11-16 15:16:57 -08:00
John Mulhausen 8eaa59ff8b Make nav-sub persist in mobile 2016-11-16 14:57:20 -08:00
John Mulhausen e1a71b72d2 Add search icon from local src 2016-10-11 01:52:41 -07:00
John Mulhausen d9701c4b51 Fix for 404 bg object, right-nav 2016-10-11 01:00:32 -07:00
John Mulhausen 8ea375e1d7 Fix for list in compose-file, CSS fixes for blockquotes 2016-10-07 13:48:23 -07:00
Misty Stanley-Jones d53c6798c9 Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00