Compare commits
	
		
			2 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1a93f6d9cb | |||
| 968799fd60 | 
@ -44,7 +44,7 @@ commands =
 | 
			
		||||
  {[testenv:json-{{ doc.type }}]commands}
 | 
			
		||||
{%- endfor %}
 | 
			
		||||
 | 
			
		||||
[testenv:pdf-docs]
 | 
			
		||||
[testenv:docs-pdf]
 | 
			
		||||
deps =
 | 
			
		||||
  {[testenv:docs]deps}
 | 
			
		||||
  {[testenv:bindeps]deps}
 | 
			
		||||
 | 
			
		||||
@ -4,13 +4,6 @@
 | 
			
		||||
    default-branch: main
 | 
			
		||||
    templates:
 | 
			
		||||
      - helpcenter-base-jobs
 | 
			
		||||
    vars:
 | 
			
		||||
      sphinx_pdf_files:
 | 
			
		||||
      {%- for doc in docs %}
 | 
			
		||||
      {%- if doc.pdf_enabled %}
 | 
			
		||||
        - {{ service_type }}-{{ doc.type }}.pdf
 | 
			
		||||
      {%- endif %}
 | 
			
		||||
      {%- endfor %}
 | 
			
		||||
    check:
 | 
			
		||||
      jobs:
 | 
			
		||||
        - noop
 | 
			
		||||
 | 
			
		||||
@ -299,12 +299,6 @@ def process_repositories(args, service):
 | 
			
		||||
 | 
			
		||||
    if args.update_zuul:
 | 
			
		||||
        """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_path = pathlib.Path(copy_to, "zuul.yaml")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user