Skip to content

Commit 140b7e8

Browse files
author
David Wrede
committed
Removing snapshot builds from doc cookbook and updating text to refer to new make doc target
Signed-off-by: David Wrede <[email protected]>
1 parent f549f34 commit 140b7e8

File tree

6 files changed

+14
-309
lines changed

6 files changed

+14
-309
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ python:
99
install:
1010
- "pip install -r requirements.txt"
1111
# command to run tests
12-
script: make master
12+
script: make docs

CONTRIBUTING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
chef-docs hopes that the documentation is always just what you are looking for, but when that isn't the case chef-docs does appreciate feedback. There are several ways to get feedback to chef-docs:
66

77
* Email --- Send an email to [email protected] for documentation bugs, ideas, thoughts, and suggestions. Typos and little errors and quick fixes will be fixed quickly and without fuss. This email address is not a support email address, however. If you need support for Chef, contact CHEF support.
8-
* Pull request -- The documentation repository is on GitHub: https://github.com/chef/chef-docs. DCO sign-off is not required to submit pull requests to this repo. If you are wondering what is going on in that repository, in terms of structure and what-goes-where, send an email to [email protected].
8+
* Pull request -- The documentation repository is on GitHub: https://github.com/chef/chef-web-docs. DCO sign-off is not required to submit pull requests to this repo. If you are wondering what is going on in that repository, in terms of structure and what-goes-where, send an email to [email protected].
99
* https://discourse.chef.io/ --- chef-docs follows this mailing list. Improvements to the documentation are made because of conversations that happen on this mailing list. That said, relying solely on the mailing list is the least effective way to get feedback to chef-docs (because there is no guarantee that chef-docs will see any particular message).
1010

1111
Thanks in advance for any feedback you choose to send.

Makefile

Lines changed: 2 additions & 255 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,8 @@
11
BUILDDIR = build
2-
S3BUCKET = chef-docs
3-
S3OPTIONS = --acl-public --exclude='.doctrees/*' --exclude='chef/.doctrees/*' --config ~/.s3cfg-chef-docs --add-header "Cache-Control: max-age=900"
42
BUILD_COMMAND = sphinx-build -a -W
5-
PARALLEL_BUILD:=
6-
BUILD_COMMAND_AND_ARGS = $(BUILD_COMMAND) $(PARALLEL_BUILD)
3+
BUILD_COMMAND_AND_ARGS = $(BUILD_COMMAND)
74

8-
# was the first option after S3OPTIONS
9-
# --delete-removed
10-
11-
12-
#
13-
# SAVED FOR HISTORY PURPOSES
14-
# This is the old mapping of the makefile for what should be built, not built
15-
# Add after `release:` the builds to build; everything else underneath commented out
16-
#
17-
# release: master 12-5 decks
18-
#
19-
#
20-
# OTHER BUILDS -- REMOVED FOR THE MOMENT AND ONLY REBUILD AD HOC
21-
# devkit analytics_1-1 delivery
22-
#
23-
# 11-0 11-2 11-4 11-6 11-8 11-10 11-12 11-14 11-16 11-18
24-
# 12-0 12-1 12-2 12-3 12-4
25-
# ohai-6 ohai-7 ohai-8
26-
# push_1-0
27-
# server_12-0 server_12-1 server_12-2
28-
# oec_11-0 oec_11-1 oec_11-2
29-
# osc_11-0 osc_11-1
30-
#
31-
# RETIRED: located in chef-docs-misc, no longer built or maintained
32-
# enterprise open_source slides
33-
# 10 private_chef
34-
# all analytics delivery client devkit server
35-
#
36-
37-
#
38-
# Parallel Building:
39-
# Supported by Sphinx 1.2.x and above
40-
#
41-
# Specify PARALLEL_BUILD="-j X" on the make cmdline
42-
# If you have an 8 cpu machine, 6 might be a good number
43-
#
44-
# make master PARALLEL_BUILD="-j 6"
45-
#
46-
47-
master:
5+
docs:
486
mkdir -p $(BUILDDIR)
497
cp -r misc/robots.txt build/
508
cp -r misc/sitemap.xml build/
@@ -54,214 +12,3 @@ master:
5412

5513
clean:
5614
@rm -rf $(BUILDDIR)
57-
58-
decks:
59-
mkdir -p $(BUILDDIR)/decks/
60-
$(BUILD_COMMAND_AND_ARGS) snapshots/slide_decks/source $(BUILDDIR)/decks/
61-
62-
automate:
63-
mkdir -p $(BUILDDIR)/release/automate/
64-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_automate/source $(BUILDDIR)/release/automate/
65-
66-
compliance:
67-
mkdir -p $(BUILDDIR)/release/compliance/
68-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_compliance/source $(BUILDDIR)/release/compliance/
69-
70-
11-0:
71-
mkdir -p $(BUILDDIR)/release/11-0/
72-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-0/source $(BUILDDIR)/release/11-0/
73-
74-
11-2:
75-
mkdir -p $(BUILDDIR)/release/11-2/
76-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-2/source $(BUILDDIR)/release/11-2/
77-
78-
11-4:
79-
mkdir -p $(BUILDDIR)/release/11-4/
80-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-4/source $(BUILDDIR)/release/11-4/
81-
82-
11-6:
83-
mkdir -p $(BUILDDIR)/release/11-6/
84-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-6/source $(BUILDDIR)/release/11-6/
85-
86-
11-8:
87-
mkdir -p $(BUILDDIR)/release/11-8/
88-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-8/source $(BUILDDIR)/release/11-8/
89-
90-
11-10:
91-
mkdir -p $(BUILDDIR)/release/11-10/
92-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-10/source $(BUILDDIR)/release/11-10/
93-
94-
11-12:
95-
mkdir -p $(BUILDDIR)/release/11-12/
96-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-12/source $(BUILDDIR)/release/11-12/
97-
98-
11-14:
99-
mkdir -p $(BUILDDIR)/release/11-14/
100-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-14/source $(BUILDDIR)/release/11-14/
101-
102-
11-16:
103-
mkdir -p $(BUILDDIR)/release/11-16/
104-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-16/source $(BUILDDIR)/release/11-16/
105-
106-
11-18:
107-
mkdir -p $(BUILDDIR)/release/11-18/
108-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_11-18/source $(BUILDDIR)/release/11-18/
109-
110-
12-0:
111-
mkdir -p $(BUILDDIR)/release/12-0/
112-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-0/source $(BUILDDIR)/release/12-0/
113-
114-
12-1:
115-
mkdir -p $(BUILDDIR)/release/12-1/
116-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-1/source $(BUILDDIR)/release/12-1/
117-
118-
12-2:
119-
mkdir -p $(BUILDDIR)/release/12-2/
120-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-2/source $(BUILDDIR)/release/12-2/
121-
122-
12-3:
123-
mkdir -p $(BUILDDIR)/release/12-3/
124-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-3/source $(BUILDDIR)/release/12-3/
125-
126-
12-4:
127-
mkdir -p $(BUILDDIR)/release/12-4/
128-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-4/source $(BUILDDIR)/release/12-4/
129-
130-
12-5:
131-
mkdir -p $(BUILDDIR)/release/12-5/
132-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-5/source $(BUILDDIR)/release/12-5/
133-
134-
12-6:
135-
mkdir -p $(BUILDDIR)/release/12-6/
136-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-6/source $(BUILDDIR)/release/12-6/
137-
138-
12-7:
139-
mkdir -p $(BUILDDIR)/release/12-7/
140-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-7/source $(BUILDDIR)/release/12-7/
141-
142-
12-8:
143-
mkdir -p $(BUILDDIR)/release/12-8/
144-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-8/source $(BUILDDIR)/release/12-8/
145-
146-
12-9:
147-
mkdir -p $(BUILDDIR)/release/12-9/
148-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-9/source $(BUILDDIR)/release/12-9/
149-
150-
12-10:
151-
mkdir -p $(BUILDDIR)/release/12-10/
152-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-10/source $(BUILDDIR)/release/12-10/
153-
154-
12-11:
155-
mkdir -p $(BUILDDIR)/release/12-11/
156-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-11/source $(BUILDDIR)/release/12-11/
157-
158-
12-12:
159-
mkdir -p $(BUILDDIR)/release/12-12/
160-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-12/source $(BUILDDIR)/release/12-12/
161-
162-
12-13:
163-
mkdir -p $(BUILDDIR)/release/12-13/
164-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_chef_12-13/source $(BUILDDIR)/release/12-13/
165-
166-
oec_11-0:
167-
mkdir -p $(BUILDDIR)/release/oec_11-0/
168-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_oec_11-0/source $(BUILDDIR)/release/oec_11-0/
169-
170-
oec_11-1:
171-
mkdir -p $(BUILDDIR)/release/oec_11-1/
172-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_oec_11-1/source $(BUILDDIR)/release/oec_11-1/
173-
174-
oec_11-2:
175-
mkdir -p $(BUILDDIR)/release/oec_11-2/
176-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_oec_11-2/source $(BUILDDIR)/release/oec_11-2/
177-
178-
osc_11-0:
179-
mkdir -p $(BUILDDIR)/release/osc_11-0/
180-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_osc_11-0/source $(BUILDDIR)/release/osc_11-0/
181-
182-
osc_11-1:
183-
mkdir -p $(BUILDDIR)/release/osc_11-1/
184-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_osc_11-1/source $(BUILDDIR)/release/osc_11-1/
185-
186-
analytics:
187-
mkdir -p $(BUILDDIR)/release/analytics/
188-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_analytics/source $(BUILDDIR)/release/analytics/
189-
190-
devkit:
191-
mkdir -p $(BUILDDIR)/release/devkit/
192-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_devkit/source $(BUILDDIR)/release/devkit/
193-
194-
ohai-8:
195-
mkdir -p $(BUILDDIR)/release/ohai-8/
196-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_ohai_8/source $(BUILDDIR)/release/ohai-8/
197-
198-
ohai-7:
199-
mkdir -p $(BUILDDIR)/release/ohai-7/
200-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_ohai_7/source $(BUILDDIR)/release/ohai-7/
201-
202-
ohai-6:
203-
mkdir -p $(BUILDDIR)/release/ohai-6/
204-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_ohai_6/source $(BUILDDIR)/release/ohai-6/
205-
206-
push_1-0:
207-
mkdir -p $(BUILDDIR)/release/push_jobs_1-0/
208-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_push_jobs_1-0/source $(BUILDDIR)/release/push_jobs_1-0/
209-
210-
push_2-1:
211-
mkdir -p $(BUILDDIR)/release/push_jobs_2-1/
212-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_push_jobs_2-1/source $(BUILDDIR)/release/push_jobs_2-1/
213-
214-
server_12-8:
215-
mkdir -p $(BUILDDIR)/release/server_12-8/
216-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-8/source $(BUILDDIR)/release/server_12-8/
217-
218-
server_12-7:
219-
mkdir -p $(BUILDDIR)/release/server_12-7/
220-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-7/source $(BUILDDIR)/release/server_12-7/
221-
222-
server_12-6:
223-
mkdir -p $(BUILDDIR)/release/server_12-6/
224-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-6/source $(BUILDDIR)/release/server_12-6/
225-
226-
server_12-5:
227-
mkdir -p $(BUILDDIR)/release/server_12-5/
228-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-5/source $(BUILDDIR)/release/server_12-5/
229-
230-
server_12-4:
231-
mkdir -p $(BUILDDIR)/release/server_12-4/
232-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-4/source $(BUILDDIR)/release/server_12-4/
233-
234-
server_12-3:
235-
mkdir -p $(BUILDDIR)/release/server_12-3/
236-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-3/source $(BUILDDIR)/release/server_12-3/
237-
238-
server_12-2:
239-
mkdir -p $(BUILDDIR)/release/server_12-2/
240-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-2/source $(BUILDDIR)/release/server_12-2/
241-
242-
server_12-1:
243-
mkdir -p $(BUILDDIR)/release/server_12-1/
244-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-1/source $(BUILDDIR)/release/server_12-1/
245-
246-
server_12-0:
247-
mkdir -p $(BUILDDIR)/release/server_12-0/
248-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_server_12-0/source $(BUILDDIR)/release/server_12-0/
249-
250-
supermarket:
251-
mkdir -p $(BUILDDIR)/release/supermarket/
252-
$(BUILD_COMMAND_AND_ARGS) snapshots/release_supermarket/source $(BUILDDIR)/release/supermarket/
253-
254-
255-
upload: release
256-
s3cmd sync $(S3OPTIONS) $(BUILDDIR)/ s3://$(S3BUCKET)/
257-
258-
#
259-
# OLD BUILDS DO NOT BUILD
260-
#
261-
# 10:
262-
# mkdir -p $(BUILDDIR)/release/10/
263-
# $(BUILD_COMMAND_AND_ARGS) release_chef_10/source $(BUILDDIR)/release/10/
264-
#
265-
# private_chef:
266-
# mkdir -p $(BUILDDIR)/release/private_chef/
267-
# $(BUILD_COMMAND_AND_ARGS) release_private_chef/source $(BUILDDIR)/release/private_chef/

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ install Sphinx, the documentation generator, possibly using `sudo`:
4848
pip install -r requirements.txt
4949
```
5050

51-
> Note: The default `make` target is `master`. This is the target that creates the appropriate `build` directory on your local machine and references in the source files in the `chef_master/source` directory of your local repo.
51+
> Note: The default `make` target is `docs`. This is the target that creates the appropriate `build` directory on your local machine and references in the source files in the `source` directory of your local repo.
5252
5353
We currently require version 1.2.3 of
5454
[Sphinx](http://sphinx-doc.org/). The requirements.txt file referenced above pins Sphinx and its dependencies to versions that are compatible with each other. You may also need to install Python, depending on your system.
@@ -104,6 +104,13 @@ We love getting feedback. You can use:
104104

105105
[Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/)
106106

107+
## Documentation snapshots
108+
109+
The previous scoped doc sets that were found off of https://docs.chef.io/release/ are no longer available in this repo. Instead,
110+
those doc sets are located at https://docs-archive.chef.io/. The index page on that site provides links to them. They retain their unique
111+
left nav and can be used to view content at a particular point in time for a given release. In the future, snapshots
112+
will be added for major releases of products/projects or for products/projects/components that are no longer supported.
113+
107114
## Archive of pre-2016 commit history
108115

109116
Commit history of this repo prior to February 12, 2016 has been

cookbooks/docs-builder/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'all_rights'
55
description 'Installs/Configures docs-builder'
66
long_description 'Installs/Configures docs-builder'
7-
version '0.2.0'
7+
version '0.3.0'
88

99
depends 'aws'
1010
depends 'fancy_execute'

cookbooks/docs-builder/recipes/default.rb

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -67,56 +67,7 @@
6767
end
6868

6969
build_targets = <<END
70-
master
71-
decks
72-
automate
73-
analytics
74-
11-0
75-
11-2
76-
11-4
77-
11-6
78-
11-8
79-
11-10
80-
11-12
81-
11-14
82-
11-16
83-
11-18
84-
12-0
85-
12-1
86-
12-2
87-
12-3
88-
12-4
89-
12-5
90-
12-6
91-
12-7
92-
12-8
93-
12-9
94-
12-10
95-
12-11
96-
12-12
97-
12-13
98-
compliance
99-
devkit
100-
oec_11-0
101-
oec_11-1
102-
oec_11-2
103-
ohai-8
104-
ohai-7
105-
ohai-6
106-
osc_11-0
107-
osc_11-1
108-
push_1-0
109-
push_2-1
110-
server_12-0
111-
server_12-1
112-
server_12-2
113-
server_12-3
114-
server_12-4
115-
server_12-5
116-
server_12-6
117-
server_12-7
118-
server_12-8
119-
supermarket
70+
docs
12071
END
12172

12273
file '/srv/chef-web-docs/targets.txt' do

0 commit comments

Comments
 (0)