mirror of
https://github.com/docker/docs.git
synced 2026-10-28 07:15:09 +03:00
ca632944aa3a69c060a0abc97f017575787e1024
* 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
Clone the project using git clone.
Next, navigate into the directory:
cd docker-marketing
Install all the dependincies (if npm install fails, you might need to run it as sudo):
npm install
bower install
While you're working on your project, run:
grunt
This will assemble all the pages and compile the Sass. You're all set to start working!
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
95.1%
HTML
2.3%
CSS
0.7%
Go
0.7%
JavaScript
0.7%
Other
0.2%