Selaa lähdekoodia

Update to use new {!snippet:...} syntax

Chris Beams 13 vuotta sitten
vanhempi
commit
18f652cd93
1 muutettua tiedostoa jossa 7 lisäystä ja 9 poistoa
  1. 7
    9
      README.md

+ 7
- 9
README.md Näytä tiedosto

1
-<!-- See expanded [macro:...] values at https://github.com/springframework-meta/springframework.org/tree/master/doc/gs-macros.md -->
2
-
3
 # Getting Started: Building a RESTful Web Service
1
 # Getting Started: Building a RESTful Web Service
4
 
2
 
5
 What you'll build
3
 What you'll build
26
 ----------------
24
 ----------------
27
 
25
 
28
  - About 15 minutes
26
  - About 15 minutes
29
- - [macro:prereq-editor-jdk-buildtools]
27
+ - {!snippet:prereq-editor-jdk-buildtools}
30
 
28
 
31
-## [macro:how-to-complete-this-guide]
29
+## {!snippet:how-to-complete-this-guide}
32
 
30
 
33
 
31
 
34
 <a name="scratch"></a>
32
 <a name="scratch"></a>
35
 Set up the project
33
 Set up the project
36
 ------------------
34
 ------------------
37
 
35
 
38
-[macro:build-system-intro]
36
+{!snippet:build-system-intro}
39
 
37
 
40
-[macro:create-directory-structure-hello]
38
+{!snippet:create-directory-structure-hello}
41
 
39
 
42
 ### Create a Maven POM
40
 ### Create a Maven POM
43
 
41
 
44
-[macro:maven-project-setup-options]
42
+{!snippet:maven-project-setup-options}
45
 
43
 
46
 `pom.xml`
44
 `pom.xml`
47
 ```xml
45
 ```xml
89
 </project>
87
 </project>
90
 ```
88
 ```
91
 
89
 
92
-[macro:bootstrap-starter-pom-disclaimer]
90
+{!snippet:bootstrap-starter-pom-disclaimer}
93
 
91
 
94
 
92
 
95
 <a name="initial"></a>
93
 <a name="initial"></a>
218
 
216
 
219
 The [`@EnableAutoConfiguration`][] annotation switches on reasonable default behaviors based on the content of your classpath. For example, because the application depends on the embeddable version of Tomcat (tomcat-embed-core.jar), a Tomcat server is set up and configured with reasonable defaults on your behalf. And because the application also depends on Spring MVC (spring-webmvc.jar), a Spring MVC [`DispatcherServlet`][] is configured and registered for you — no `web.xml` necessary! Auto-configuration is a powerful, flexible mechanism. See the [API documentation][`@EnableAutoConfiguration`] for further details.
217
 The [`@EnableAutoConfiguration`][] annotation switches on reasonable default behaviors based on the content of your classpath. For example, because the application depends on the embeddable version of Tomcat (tomcat-embed-core.jar), a Tomcat server is set up and configured with reasonable defaults on your behalf. And because the application also depends on Spring MVC (spring-webmvc.jar), a Spring MVC [`DispatcherServlet`][] is configured and registered for you — no `web.xml` necessary! Auto-configuration is a powerful, flexible mechanism. See the [API documentation][`@EnableAutoConfiguration`] for further details.
220
 
218
 
221
-### [macro:build-an-executable-jar]
219
+### {!snippet:build-an-executable-jar}
222
 
220
 
223
 
221
 
224
 Run the service
222
 Run the service