mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix graphql imports in reference docs generation
See gh-31809
This commit is contained in:
parent
ed1f6ad543
commit
184945ab1e
@ -321,6 +321,9 @@ syncDocumentationSourceForAsciidoctor {
|
||||
from("src/main/groovy") {
|
||||
into "main/groovy"
|
||||
}
|
||||
from("src/main/resources") {
|
||||
into "main/resources"
|
||||
}
|
||||
}
|
||||
|
||||
syncDocumentationSourceForAsciidoctorMultipage {
|
||||
|
@ -21,6 +21,7 @@
|
||||
:docs-java: {docdir}/../main/java/org/springframework/boot/docs
|
||||
:docs-kotlin: {docdir}/../main/kotlin/org/springframework/boot/docs
|
||||
:docs-groovy: {docdir}/../main/groovy/org/springframework/boot/docs
|
||||
:docs-resources: {docdir}/../main/resources
|
||||
:spring-boot-code: https://github.com/{github-repo}/tree/{github-tag}
|
||||
:spring-boot-api: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/api
|
||||
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference
|
||||
|
@ -0,0 +1,29 @@
|
||||
type Query {
|
||||
greeting(name: String! = "Spring"): String!
|
||||
project(slug: ID!): Project
|
||||
}
|
||||
|
||||
""" A Project in the Spring portfolio """
|
||||
type Project {
|
||||
""" Unique string id used in URLs """
|
||||
slug: ID!
|
||||
""" Project name """
|
||||
name: String!
|
||||
""" URL of the git repository """
|
||||
repositoryUrl: String!
|
||||
""" Current support status """
|
||||
status: ProjectStatus!
|
||||
}
|
||||
|
||||
enum ProjectStatus {
|
||||
""" Actively supported by the Spring team """
|
||||
ACTIVE
|
||||
""" Supported by the community """
|
||||
COMMUNITY
|
||||
""" Prototype, not officially supported yet """
|
||||
INCUBATING
|
||||
""" Project being retired, in maintenance mode """
|
||||
ATTIC
|
||||
""" End-Of-Lifed """
|
||||
EOL
|
||||
}
|
Loading…
Reference in New Issue
Block a user