With both genasciidoc and genasciidoc_zip rules. Change-Id: Ie796a81cd578a1217ea45b1ab9d449a7b97d5532
		
			
				
	
	
		
			28 lines
		
	
	
		
			587 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			587 B
		
	
	
	
		
			Python
		
	
	
	
	
	
load("//tools/bzl:asciidoc.bzl", "release_notes_attributes")
 | 
						|
load("//tools/bzl:asciidoc.bzl", "genasciidoc")
 | 
						|
load("//tools/bzl:asciidoc.bzl", "genasciidoc_zip")
 | 
						|
 | 
						|
 | 
						|
SRCS = glob(['*.txt'])
 | 
						|
 | 
						|
 | 
						|
genasciidoc(
 | 
						|
  name = 'ReleaseNotes',
 | 
						|
  srcs = SRCS,
 | 
						|
  attributes = release_notes_attributes(),
 | 
						|
  backend = 'html5',
 | 
						|
  searchbox = False,
 | 
						|
  resources = False,
 | 
						|
  visibility = ["//visibility:public"],
 | 
						|
)
 | 
						|
 | 
						|
genasciidoc_zip(
 | 
						|
  name = "html",
 | 
						|
  srcs = SRCS,
 | 
						|
  attributes = release_notes_attributes(),
 | 
						|
  backend = 'html5',
 | 
						|
  searchbox = False,
 | 
						|
  resources = False,
 | 
						|
  visibility = ["//visibility:public"],
 | 
						|
)
 |