add small change
This commit is contained in:
		@ -151,7 +151,16 @@ def process_repositories(args, service):
 | 
				
			|||||||
                logo_url="https://docs-int.otc-service.com",
 | 
					                logo_url="https://docs-int.otc-service.com",
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
        context["doc_environment"] = args.target_environment
 | 
					        context["doc_environment"] = args.target_environment
 | 
				
			||||||
 | 
					        if doc['link']:
 | 
				
			||||||
            context["doc_link"] = doc['link']
 | 
					            context["doc_link"] = doc['link']
 | 
				
			||||||
 | 
					        else:
 | 
				
			||||||
 | 
					            context["doc_link"] = (
 | 
				
			||||||
 | 
					                '/'
 | 
				
			||||||
 | 
					                + service['service_uri']
 | 
				
			||||||
 | 
					                + '/'
 | 
				
			||||||
 | 
					                + doc['type']
 | 
				
			||||||
 | 
					                + '/'
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
        context["doc_title"] = doc['title']
 | 
					        context["doc_title"] = doc['title']
 | 
				
			||||||
        context["doc_type"] = doc['type']
 | 
					        context["doc_type"] = doc['type']
 | 
				
			||||||
        context["service_category"] = service['service_category']
 | 
					        context["service_category"] = service['service_category']
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user