Compare commits
	
		
			1 Commits
		
	
	
		
			zuul-pdf
			...
			enable_pdf
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 08234e932b | 
@ -2,7 +2,7 @@
 | 
				
			|||||||
hc_location: api/nosql
 | 
					hc_location: api/nosql
 | 
				
			||||||
html_location: docs/geminidb/api-ref
 | 
					html_location: docs/geminidb/api-ref
 | 
				
			||||||
link: /geminidb/api-ref/
 | 
					link: /geminidb/api-ref/
 | 
				
			||||||
pdf_name: geminidb-api-ref
 | 
					pdf_enabled: true
 | 
				
			||||||
rst_location: api-ref/source
 | 
					rst_location: api-ref/source
 | 
				
			||||||
service_type: geminidb
 | 
					service_type: geminidb
 | 
				
			||||||
title: API Reference
 | 
					title: API Reference
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@
 | 
				
			|||||||
hc_location: usermanual/nosql
 | 
					hc_location: usermanual/nosql
 | 
				
			||||||
html_location: docs/geminidb/umn
 | 
					html_location: docs/geminidb/umn
 | 
				
			||||||
link: /geminidb/umn/
 | 
					link: /geminidb/umn/
 | 
				
			||||||
pdf_name: geminidb-umn
 | 
					pdf_enabled: true
 | 
				
			||||||
rst_location: umn/source
 | 
					rst_location: umn/source
 | 
				
			||||||
service_type: geminidb
 | 
					service_type: geminidb
 | 
				
			||||||
title: User Guide
 | 
					title: User Guide
 | 
				
			||||||
 | 
				
			|||||||
@ -44,7 +44,7 @@ commands =
 | 
				
			|||||||
  {[testenv:json-{{ doc.type }}]commands}
 | 
					  {[testenv:json-{{ doc.type }}]commands}
 | 
				
			||||||
{%- endfor %}
 | 
					{%- endfor %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[testenv:pdf-docs]
 | 
					[testenv:docs-pdf]
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
  {[testenv:docs]deps}
 | 
					  {[testenv:docs]deps}
 | 
				
			||||||
  {[testenv:bindeps]deps}
 | 
					  {[testenv:bindeps]deps}
 | 
				
			||||||
 | 
				
			|||||||
@ -4,13 +4,6 @@
 | 
				
			|||||||
    default-branch: main
 | 
					    default-branch: main
 | 
				
			||||||
    templates:
 | 
					    templates:
 | 
				
			||||||
      - helpcenter-base-jobs
 | 
					      - helpcenter-base-jobs
 | 
				
			||||||
    vars:
 | 
					 | 
				
			||||||
      sphinx_pdf_files:
 | 
					 | 
				
			||||||
      {%- for doc in docs %}
 | 
					 | 
				
			||||||
      {%- if doc.pdf_enabled %}
 | 
					 | 
				
			||||||
        - {{ service_type }}-{{ doc.type }}.pdf
 | 
					 | 
				
			||||||
      {%- endif %}
 | 
					 | 
				
			||||||
      {%- endfor %}
 | 
					 | 
				
			||||||
    check:
 | 
					    check:
 | 
				
			||||||
      jobs:
 | 
					      jobs:
 | 
				
			||||||
        - noop
 | 
					        - noop
 | 
				
			||||||
 | 
				
			|||||||
@ -299,12 +299,6 @@ def process_repositories(args, service):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if args.update_zuul:
 | 
					    if args.update_zuul:
 | 
				
			||||||
        """Update zuul.yaml"""
 | 
					        """Update zuul.yaml"""
 | 
				
			||||||
        context = dict(docs=[])
 | 
					 | 
				
			||||||
        for doc in service_docs:
 | 
					 | 
				
			||||||
            if doc["type"] == "dev":
 | 
					 | 
				
			||||||
                doc["type"] = "dev-guide"
 | 
					 | 
				
			||||||
            context["docs"].append(doc)
 | 
					 | 
				
			||||||
        context["service_type"] = service['service_type']
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        zuul_yaml_content = zuul_yaml_template.render(**context)
 | 
					        zuul_yaml_content = zuul_yaml_template.render(**context)
 | 
				
			||||||
        zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
 | 
					        zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user