Commit Graph

224 Commits

Author SHA1 Message Date
Usha Mandya 2dbc67066e Add homepage banner for volume management
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-30 16:18:01 +01:00
Usha Mandya 4e120ba5f7
Rename Product Manuals to Manuals (#13498)
* Rename Product Manuals to Manuals

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update _includes/breadcrumbs.html

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2021-09-10 14:28:31 +01:00
Usha Mandya e8e7f7f05d First draft for subscription changes
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-31 14:35:20 +00:00
Sebastiaan van Stijn 3631769979
_scss: cleanup navigation styles
This fixes various inconsistencies between the landing page and the
other pages by sharing more styles between both:

- fix homepage using a different color for the active tab
- fix homepage not having "hover" styles for the top navigation

I addition, this:

- fixes unwanted whitespace in the hamburger-menu on mobile
- fixes "active" menu item not being highlighted on mobile
- fixes left-side aligning of left-hand menu on desktop

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 14:00:46 +02:00
Sebastiaan van Stijn 346a066b68
Desktop: move "docker-for-windows" to "desktop/windows"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:28:15 +02:00
Sebastiaan van Stijn d0bf342e52
Desktop: move "docker-for-mac" to "desktop/mac"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:07:41 +02:00
Josh Newman c5b1a6ad00
Add access tokens API documentation (#13174)
* feat(hub-api): Add access tokens API documentation.

Also added improvements including
- improvements to slugs (ids) using standard swagger naming conventions
- rate limiting section
- minor verbiage changes to existing docs for clarity

* chore(hub-api): Update PAT description on scopes

* ref(hub-api): Remove periods

* feat(hub-api): Add suggested note on limits

* ref(hub-api): Improve styling for hub-api docs

* chore(hub-api): Update verbiage

* Update docker-hub/api/latest.yaml

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* chore(hub-api): Update access token verbiage

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-07-20 12:26:43 -05:00
Usha Mandya 972b7a90a4 Add Dev Environmentsbanner
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-24 18:36:42 +01:00
Usha Mandya 90da02aab6
Add DockerCon wrap-up banner to the homepage (#12928)
* Add DockerCon wrapup banner to the homepage

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update the footer

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-01 18:27:09 +01:00
Sebastiaan van Stijn 8e75f5bcb1
Reorganize toc
- move "docker desktop" to the top of the "product manuals" section,
  and make it the default page
- Add a "Reference documentation" menu item to the TOC, which will be
  the "active" menu item when opening the reference section.
- move the "Samples home" menu item outside of the "samples" sub-menu,
  and add it at the top level as "samples overview", so that the "index"
  highlights that menu-item without opening the "samples" sub-menu. The
  "samples" submenu contains various samples which are a bit outdated,
  so probably shouldn't be _that_ prominent when opening the page.
  Moving the menu item also makes the "breadcrumb" navigation more
  natural (moving from a sample to "samples overview" navigates back
  to the "top" of the samples section.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-21 11:32:06 +02:00
Usha Mandya 0fb44446dc Add DockerCon21 banner on the homepage
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-05-17 10:36:26 +01:00
Usha Mandya e056bc66c2 Add Apple silicon banner to the homepage
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-04-14 19:08:45 +01:00
Usha Mandya cc04246252 Consolidate Kube deploy docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-24 15:10:35 +00:00
Usha Mandya f38f8a9d77
Merge pull request #12390 from zappy-shu/HUB-5154-images-api
Add initial image dashboard API docs
2021-03-22 18:29:26 +00:00
Nick Adcock a3ddf6766b update hub api descriptions and path
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2021-03-18 09:37:28 +00:00
Usha Mandya b755b5c65a Add a new icon for language-specific guides
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-01 23:53:35 +00:00
Nick Adcock 82ed0e463d Add initial image dashboard API docs
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2021-02-25 15:29:56 +00:00
Usha Mandya 4b59234515
Add combined faqs for Mac and Windows (#12153)
* Add combined faqs for Mac and Windows

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update links from other pages to faqs

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Address review comments part-1

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Address feedback  on connecting to remote engine API

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Address Stephen's review comments

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-22 16:17:53 +00:00
Usha Mandya ba395bed07 Add reference architecture docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 12:07:55 +00:00
Sebastiaan van Stijn 3301f89fc3
Replace some getting-started links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 12:49:25 +01:00
Usha Mandya 78421ba741
Update docs for Desktop 3.0.0 release (#11859)
* Update docs for Desktop 3.0.0 release

* Update release notes

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Update release notes and Settings screenshots

* Add download URLs and a new known issue

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-12-10 15:01:02 +00:00
Sebastiaan van Stijn 24d79e61d6
_layouts/landing.html: fix "<head>" that got lost in transition
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-23 14:03:30 +02:00
Sebastiaan van Stijn d883621145
inline "body-landing" and "body" into layout
This reduces the time to build, as Jekyll doesn't have to
render the body, then copy it into the layout:

Production before:   62 seconds
Production after:    46 seconds
Development before:  35 seconds
Development after:   33 seconds

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-23 13:35:18 +02:00
Sebastiaan van Stijn 87f40087d8
remove docs.html layout before renaming / move body
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-23 13:35:16 +02:00
Sebastiaan van Stijn 3c869fb0e3
_layouts: fix redirect layout for external URLs
This allows `redirect_to` redirects to external websites;

    curl localhost:4000/samples/library/adminer/
    <!DOCTYPE html>
    <html lang="en-US">
      <meta charset="utf-8">
      <title>Redirecting&hellip;</title>
      <link rel="canonical" href="https://hub.docker.com/_/adminer/"><meta http-equiv="refresh" content="0; url=https://hub.docker.com/_/adminer/">
      <meta name="robots" content="noindex">
      <h1>Redirecting&hellip;</h1>
      <a href="https://hub.docker.com/_/adminer/">Click here if you are not redirected.</a>
      <script>location="https://hub.docker.com/_/adminer/"</script>
    </html>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:09:14 +02:00
Sebastiaan van Stijn cafd5a9943
Use full URLs for canonical links
Canonical links are expected to be full URLs, not relative.

For this to work, the Dockerfile had to be updated, because we're stripping
the domain-name from links ("<a href..."), but the script currently also included
"<link rel='canonical' .." tags.

With the change, canonical links are left alone;

These hrefs will be replaced

    echo '<a class=foo href="https://docs.docker.com/foo">hello</a>' | sed -e 's#\(<a[^>]* href="\)https://docs.docker.com/#\1/#g'
    # <a class=foo href="/foo">hello</a>
    echo '<a href="https://docs.docker.com/foo">hello</a>' | sed -e 's#\(<a[^>]* href="\)https://docs.docker.com/#\1/#g'
    # <a href="/foo">hello</a>

But, for example, this one is left alone

    echo '<link rel="canonical" href="https://docs.docker.com/foo/bar" />' | sed -e 's#\(<a[^>]* href="?\)https://docs.docker.com/#\1/#g'
    # <link rel="canonical" href="https://docs.docker.com/foo/bar" />

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:32 +02:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
See https://web.dev/external-anchors-use-rel-noopener/

Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:30 +02:00
Sebastiaan van Stijn 0a03930c6d
Cleanup whitespace in templates
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-09 01:12:05 +02:00
Usha Mandya 4dc252c910
Merge pull request #11487 from thaJeztah/edit_url_fix
use jekyll configuration for edit urls
2020-10-07 09:49:41 +01:00
Sebastiaan van Stijn dbd88b7395
use jekyll configuration for edit urls
The existing implementation was broken, and didn't override
the URLs (due to leading, trailing slashes the paths were not
matched).

Instead of using the custom "not_edited_here.yaml", set the
edit-url as front-matter variable through the _config.yml

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-06 23:10:28 +02:00
Sebastiaan van Stijn 3353d60062
engine-api: create unique description for each API version
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-06 16:22:35 +02:00
Sebastiaan van Stijn c3e55377e4
Make the latest API reference page the canonical URL
We host multiple versions of the API reference. While older versions of the
API are still supported by the latest engine release, users should generally
refer to the latest version of the API.

This patch adds a "canonical" meta-tag to the API reference pages, and points
it to the latest version of the API.

Note that there's also a /engine/api/latest/ page, but I didn't pick that
URL, because it's a redirect to `/engine/api/v<current>/`, which Google
probably doesn't like.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-25 18:13:51 +02:00
Jérémie Drouet feb57a7eea landing page: change style
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-05 16:53:50 +02:00
Sebastiaan van Stijn 80c6d185e3
Only fix links on reference pages
The JavaScript "link fix" looks to be only needed for pages
where Markdown is included, and which contain relative links.

Now that we modified all local includes to use absolute links,
the only location where links are not properly generated, is
in the reference documentation.

If broken links are found elsewhere in the website, those links
are legitimately broken, and should be fixed in the markdown
source, not fixed-up afterwards.

This patch moves the javascript to the cli.md include, so that
the script is only run on the reference pages instead of on every
page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:57 +02:00
Sebastiaan van Stijn 75bdec14ee
_layouts/docs.html: remove baseURL and fix link-fixing script
The base href caused browsers to produce incorrect URLs for
anchor links on various pages, for example, pointing to:

    https://docs-test.docker.com/engine/reference/#foreground

Instead of

    https://docs-test.docker.com/engine/reference/run/#foreground

Also cleaning up and fixing the JavaScript workaround for links
in include-files;

- only fix up links in the main content, not in other parts
  of the page
- don't fix up anchor links, absolute links, or links that don't
  contain `.md`: for those we can assume they were generated
  correctly, and if not, those are links that should be fixed in
  the markdown source, not fixed afterwards.
- document the function for future readers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:55 +02:00
Sebastiaan van Stijn 5a26b5f3cd
_layouts/docs.html: use spaces for indentation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:50 +02:00
Sebastiaan van Stijn 8c3ea575e4
_layouts/docs.html: some formatting and minor cleanup
- remove some stray empty lines
- put liquid code that was before the opening HTML inside a HTML
  comment, to prevent IDE's from marking it as invalid HTML
- fix some indentation
- fix some minor linting issues

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:26:23 +02:00
Sebastiaan van Stijn f8347be151
Merge pull request #10579 from usha-mandya/docs-footer-patch
Update Docs header and footer
2020-04-08 08:40:20 +02:00
Usha Mandya 7b804135dd Update Docs header and footer
- Updated the footer to remove redundant links and ensured the entries and layout match the footer displayed on the WWW site.
- Removed Sign in and Create Docker ID option from the header
- Removed Get Support from the right-nav
2020-04-08 07:26:52 +01:00
Ashwin Maroli 1d9c7fd691 Optimize keywords-list logic in docs layout 2020-04-05 17:05:54 +05:30
Sebastiaan van Stijn 770cdeecb1
Engine API: use filename instead of custom api_version property
Now that the files are named `<api-version>.md`, we no longer need
to set a custom `api_version` property; instead we can use the filename
to detect what API version we're rendering.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-25 14:00:57 +01:00
Sebastiaan van Stijn 6dab89c905
Engine API: unify APIs: fetch from single branch
The upstream (moby/moby) repository is unifying all API swagger files
to be in the release branch. With that change, it is no longer needed
to fetch each version of the API separately, and instead all versions
can be fetched at once.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-25 14:00:55 +01:00
Sebastiaan van Stijn f757d8a14b
Engine API: use template for API reference pages
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-24 13:58:30 +01:00
Sebastiaan van Stijn 5276ea1d9f
Re-enable "anchorlink" script
This allows for easier sharing of links to specific sections
on a page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-13 12:48:12 +01:00
Adrian Plata efbc9a280d Tag link change
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-11-12 11:14:56 -08:00
Adrian Plata fd2a24ab45
Merge pull request #1378 from docker/master
Syncing branch with master
2019-10-14 10:27:08 -07:00
Adrian Plata bb26f1570a Adding a metadata check for reading time.
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-10-04 14:42:44 -07:00
Usha Mandya a556c61cf7
Merge pull request #9351 from thaJeztah/remove_library_samples
Remove library samples, and link to Docker Hub instead
2019-09-23 16:21:57 +02:00
Erik Hedin c87fab9e0c Update to standardize Segment in to Google Tag Manager. 2019-09-09 18:36:34 +00:00
Sebastiaan van Stijn d78dc92278
Remove javascripts related to generating library collection navigation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-04 00:37:42 +02:00
Sebastiaan van Stijn aae9bfc276
Rename / remove edge-related variables
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-14 22:44:58 +01:00
Maria Bermudez aaca9b83b5 Revert "Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2""
This reverts commit 4c95d161ca.
2018-08-29 19:01:03 -07:00
Maria Bermudez 4c95d161ca Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2"
This reverts commit af5f2fcc38, reversing
changes made to 338b690d26.
2018-08-29 18:37:44 -07:00
Maria Bermudez 840c167055 Revert "Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2""
This reverts commit 14080c18bd.
2018-08-29 18:36:03 -07:00
Maria Bermudez 14080c18bd Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2"
This reverts commit af5f2fcc38, reversing
changes made to 338b690d26.
2018-08-29 14:47:31 -07:00
Marit van Dijk 908c627a1b Fix support links (#6775) 2018-05-30 08:32:33 -07:00
Joao Fernandes bd57cc0801 Remove assignee from issues 2018-05-03 16:54:33 -07:00
John Mulhausen eb7ce953d6 Remove 'In the UI' et al, and Google Surveys (#531) 2018-04-16 13:31:24 -07:00
Joao Fernandes 689688432e Fix layout when using --- 2018-04-16 13:31:24 -07:00
Joao Fernandes 9a4fdf9476 /enterprise -> /ee (#415)
* /enterprise -> /ee
* /datacenter/dtr/2.5 -> /ee/dtr/
* /datacenter/ucp/3.0->/ee/ucp
* Fix configs
* Fix broken images
* Remove unused images for DTR
* Remove unused images for UCP
* Add a few redirects to avoid breaking beta exercises
2018-04-16 13:31:24 -07:00
Joao Fernandes 2f841e021d Fix tab layout missing content 2018-04-16 13:31:24 -07:00
Jim Galasyn 9a3c1f26d8 WIP join nodes topics (#293)
Also fix build breakage with `enterprise_advisory` capture.
2018-04-16 13:31:24 -07:00
John Mulhausen b09c7d3d2b Templatev2 (#286)
* Fix for build break

* Revert "v2 of templates"

* New commit, old changes
2018-04-16 13:31:24 -07:00
Joao Fernandes 983ce02e3c Revert "Short headings, API tabs, whole topic=EE, page.intro, right-nav fix"
This reverts commit 42af4621737f26fe520d2d499e43446f5d9d2df5.
2018-04-16 13:31:24 -07:00
John Mulhausen da5bfa91cb Short headings, API tabs, whole topic=EE, page.intro, right-nav fix 2018-04-16 13:31:24 -07:00
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
Misty Stanley-Jones d85e0d09c3
Try to fix JS TOC logic (#5666) 2018-01-04 14:48:38 -08:00
John Mulhausen d17340d394
Speed up site rendering for authors (#5241)
* rough pass at tabs, jsonification

* GHPages 147, authoring YML, sitemap via plugin, working JS

* Update Gemfile

* Removing dk.rb artifact

* Simplifying authoring YML even more

* More YML simplification

* Remove jekyll-seo -- even more perf gain

* Glossary support

* Collections support

* Incremental off; GH Pages 172 gets build time to 50 seconds
2017-12-19 18:15:15 -08:00
John Mulhausen 7427f0ab76
Fix for not-edited-here Edit this Page link (#5530) 2017-12-15 15:02:21 -08:00
Misty Stanley-Jones 86bd21e88d
Dynamically display latest Docker EE version (#5335) 2017-11-17 15:14:02 -08:00
John Mulhausen 2d38f3db6a Template for EE Tasks alpha (#5066)
* Template for EE Tasks alpha

* Attempt to avoid includes

* Cleanup

* Cleanup
2017-10-23 18:09:12 -07:00
Misty Stanley-Jones 6aae2e4e84 Add pointer to latest API ref (#4897) 2017-10-16 15:04:24 -07:00
John Mulhausen a8677b38af Version selector for EE docs (#4952)
* Version selector for EE docs

* site...

* endif

* Fixes

* html not md

* hash v string, oops

* Path overrides
2017-10-13 15:45:52 -07:00
John Mulhausen 6d2904e7c2 Fix for upstream edits (#4949) 2017-10-13 15:25:11 -07:00
Josh south a74533976d Activate Night Mode (#4853)
* Activate Night Mode

- Add toggle for night mode
- Update base styles

* Update _night-mode.scss

* Fix first-line indenting and color differences
2017-10-09 16:42:07 -07:00
Misty Stanley-Jones f48c29eba7 Fix variable name (#4817) 2017-10-05 17:26:00 -07:00
Misty Stanley-Jones c6391e5998 Enable hide/show of elements that don't apply to archives (#4798) 2017-10-04 14:59:29 -07:00
Misty Stanley-Jones 322593c050 Add code to enable keeping archive.js in master (#4790) 2017-10-03 13:12:28 -07:00
John Mulhausen 0fb7e827f6 Update docs.html 2017-08-23 12:12:34 -07:00
John Mulhausen 1c5153b965 Convert Library references from submodule to upstream (#4102)
* Step 1 of getting to upstream-based model

* Upstream part 2

* Working front-matter generation

* Pages generating

* TOC fixes, autogen fixes, test>prod script

* Boilerplate fix

* Switch to cat, redundancy removals
2017-08-08 16:04:00 -07:00
John Mulhausen 900d669cba Revert "Fix for index.md# Links" (#4051)
* Revert "Put back delimited for YAML (#4046)"

This reverts commit fba2177277.

* Revert "copy-edits and clarify Docker for Windows purpose (#4014)"

This reverts commit df36e90b6e.

* Revert "Update index.md (#3993)"

This reverts commit 3c259d8fb1.

* Revert "Update scaling.md (#4007)"

This reverts commit b9df557deb.

* Revert "used proper css tag for accordion background color (#4016)"

This reverts commit 7ab454f1d5.

* Revert "Fix for index.md# Links (#3981)"

This reverts commit 29c11bebec.
2017-07-31 14:06:03 -07:00
John Mulhausen 29c11bebec Fix for index.md# Links (#3981) 2017-07-28 14:16:43 -07:00
Steven Hanna 82896063d5 Fix Liquid Exception (#3316) (#3897)
jekyll-redirect-from v0.12.1 causes "Liquid Exception: invalid byte sequence in US-ASCII in _layouts/redirect.html"

-override default built-in redirect.html with a custom "_layouts/redirect.html" that has the ellipsis HTML fix encoded localy
2017-07-18 13:49:19 -07:00
Misty Stanley-Jones b58c86179e Missing space (#3555) 2017-06-09 16:50:34 -07:00
Misty Stanley-Jones d49792da29 Add dateUpdated and datePublished for Google (#3431) 2017-05-30 13:42:11 -07:00
John Mulhausen 102c00e071 Docker Library import (#3063)
* Docker Library import

* Auto-gen Samples TOC

* Modular hovers on Glossary page

* TOC sync fix
2017-05-17 12:33:09 -07:00
John Mulhausen a36d37dae6 Fix for glossary 2017-04-21 14:31:32 -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 77271d7a24 Yikes. 2017-04-20 21:05:40 -07:00
Bill a3a7ae1e0b replaced docker/docker with moby/moby (#2879)
* replaced docker/docker with moby/moby

* fixed incorrect name changes in release notes

* fixed mentions of moby/moby in code
2017-04-20 15:32:18 -05:00
Prashant 92fb800ccd Fix behavior of "Request docs changes" link on 404 page 2017-04-19 14:46:47 -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
John Mulhausen 34111fa341 Update docs.html 2017-04-10 19:18:42 -07:00
John Mulhausen 91cc101e98 Update docs.html 2017-04-10 18:01:34 -07:00
Misty Stanley-Jones 0537424e77 Remove redundant feedback links in footer 2017-04-07 13:29:48 -07:00
John Mulhausen 1a6874fcb4 Merge conflict (#2662) 2017-04-07 13:10:04 -07:00
Misty Stanley-Jones e796ce8148 Site-specific changes for Edge 2017-04-05 17:45:44 -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
John Mulhausen 1822f7419e Update docs.html 2017-03-28 17:56:38 -07:00