Skip to content

Commit

Permalink
Add update cookbook index links with pipeline templates and sort list
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanly committed Oct 2, 2023
1 parent a028f8d commit 7e0d3ed
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
16 changes: 8 additions & 8 deletions scripts/graphql_api_content/nav_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ def generate_graphql_nav_data(type_sets)
"path" => "apis/graphql/graphql-cookbook"
},
{
"name" => "Pipelines",
"path" => "apis/graphql/cookbooks/pipelines"
"name" => "Agents",
"path" => "apis/graphql/cookbooks/agents"
},
{
"name" => "Builds",
"path" => "apis/graphql/cookbooks/builds"
},
{
"name" => "Jobs",
"path" => "apis/graphql/cookbooks/jobs"
"name" => "Clusters",
"path" => "apis/graphql/cookbooks/clusters"
},
{
"name" => "Agents",
"path" => "apis/graphql/cookbooks/agents"
"name" => "Jobs",
"path" => "apis/graphql/cookbooks/jobs"
},
{
"name" => "Clusters",
"path" => "apis/graphql/cookbooks/clusters"
"name" => "Pipelines",
"path" => "apis/graphql/cookbooks/pipelines"
},
{
"name" => "Pipeline templates",
Expand Down
16 changes: 10 additions & 6 deletions spec/scripts/graphql_api_content/nav_data_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,24 +310,28 @@
"path" => "apis/graphql/graphql-cookbook"
},
{
"name" => "Pipelines",
"path" => "apis/graphql/cookbooks/pipelines"
"name" => "Agents",
"path" => "apis/graphql/cookbooks/agents"
},
{
"name" => "Builds",
"path" => "apis/graphql/cookbooks/builds"
},
{
"name" => "Clusters",
"path" => "apis/graphql/cookbooks/clusters"
},
{
"name" => "Jobs",
"path" => "apis/graphql/cookbooks/jobs"
},
{
"name" => "Agents",
"path" => "apis/graphql/cookbooks/agents"
"name" => "Pipelines",
"path" => "apis/graphql/cookbooks/pipelines"
},
{
"name" => "Clusters",
"path" => "apis/graphql/cookbooks/clusters"
"name" => "Pipeline templates",
"path" => "apis/graphql/cookbooks/pipeline-templates"
},
{
"name" => "Organizations",
Expand Down

0 comments on commit 7e0d3ed

Please sign in to comment.