mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
aa4d8f90e3607f5372d963f123d9e7c678af7914
* Add an admonition to the top of the archive
Only works if you are online and the JSON file is available at
https://docs.docker.com/js/archives.json
* Fix JS errors, add Segment, hide old archive links
Docker Marketing Site
Requirements
You'll need to have the following items installed before continuing.
- Node.js: Use the installer provided on the NodeJS website.
- Grunt: Run
sudo npm install -g grunt-cli - Bower: Run
sudo npm install -g bower
Getting Started
From the docs-base directory, run:
$ make build-theme
This will build everything in src and put it in dist.
Directory Structure
dist: Static pages are assembled here. This is where you should view the site in your browser. Don't edit these files directly. They will be overwritten!src: This is the directory you'll work in.src/assets: All assets (scss, images, fonts, js, etc) go here.src/assets/scss/_settings.scss: Foundation configuration settings go in here.src/assets/scss/app.scss: Application styles go here.
Description
Languages
Markdown
97.2%
HTML
1.8%
CSS
0.4%
JavaScript
0.2%
Go
0.1%
Other
0.1%