Commit Graph

9 Commits (8d74d997cbeb8b1210fae411c1ab1fee3d8477ac)

Author SHA1 Message Date
Qiming 472be9a374 Consolidate YAML files [part-15] (#9380)
This is the last PR for moving the YAML/JSON sample files. There still
need some follow up PRs to:
- rename the `codenew` shortcode to `code`.
- move the examples_test.go to where it really belongs.
2018-07-10 09:09:26 -07:00
Qiming 99a77ff368 Consolidate YAML files [part-13] (#9377)
This PR deals with YAML files referenced by the following two topics:
- concepts:object management
- concepts:service networking

When scanning references to the YAML files to be moved, some trivial
editings were applied to the markdown files. None of this editing should
break the build or ruin the doc otherwise.
2018-07-10 08:56:25 -07:00
Qiming b5f6df9926 Consolidate YAML files [part-8] (#9347)
* Consolidate YAML files [part-8]

This PR exacts the YAML files referenced from the following subdirs:

- docs/concepts/workloads
- docs/concepts/configuration
- docs/concepts/policy

The following problems are fixed:

- docs/concepts/workloads/controllers/ doesnt have a 'cronjob.yaml for
  test
- the exactly same `pod.yaml` was used in both the task/config-pod-container
  topic and the concepts/configuration topics.

* Update examples_test.go

* Add missing yaml file.
2018-07-02 17:35:20 -07:00
Qiming 48897cc47d Consolidate YAML files [part-7] (#9262)
* Consolidate YAML files [part-7]

This PR relocates YAML files used by Job/CronJob examples.

* Update examples_test.go
2018-07-02 13:54:17 -07:00
Qiming 3a0c618734 Consolidate YAML files [part-6] (#9261)
* Consolidate YAML files [part-6]

This PR relocates the YAML files used by the stateful application
examples.

* Update examples_test.go
2018-07-02 13:37:18 -07:00
Qiming ea11ae29ac Consolidate YAML files [part-5] (#9258)
* Consolidate YAML files [part-5]

This PR relocates the yaml files used in stateless application
guestbook. This PR also fixes the list numbering and code block
problems in the page.

Note that neither code blocks nor note callouts live happily inside a
numbered list, so this PR moves them out of such lists.

* Update examples_test.go
2018-07-02 13:06:18 -07:00
Qiming d15da5a726 Consolidate YAML files [part-4] (#9241)
This PR consolidates YAML files used in the
`tasks/debug-application-cluster` subdirectory.

Depends-On: #9236
2018-07-02 11:17:19 -07:00
Qiming a11e02d575 Consolidate YAML files [part-3] (#9237)
This PR consolidates YAML files used in `tasks/run-application`
subdirectory.
2018-07-02 11:15:20 -07:00
Qiming a3415f6228 Consolidate YAML files [part-2] (#9236)
Changes that will help upcoming consolidation work:

- Add variable `githubWebsiteRaw` to config.toml to facilitate building
  links to raw YAML files
- Revise `codenew` shortcode to generate links to raw YAML files instead
  of github.com file view;
- Rename `artifacts` directory to `examples` to better reflect its usage;

Accompanied changes as show cases:

- Moved `deployment.yaml`, `deployment-update.yaml` and
  `deployment-scale.yaml` to the new `examples/application` subdirectory;
- Removed duplicate instances of the above YAML files in other
  directories;
- Update example_test.go to test the relocated YAML files and removed
  testing for files that no longer needed.
2018-06-26 09:34:52 -07:00