docs: path adjustments to allow documentation to build again
- adding doc files to .gitignore
Change-Id: Ia6b2358bb1f236298ad1d705c1bed0636026632d
[ROCm/ROCR-Runtime commit: 75b674f0ad]
This commit is contained in:
@@ -9,11 +9,8 @@ import re
|
||||
|
||||
from rocm_docs import ROCmDocs
|
||||
|
||||
os.system("cp ../README.md index.md")
|
||||
os.system("cp ../src/README.md structure.md")
|
||||
|
||||
with open('../src/CMakeLists.txt', encoding='utf-8') as f:
|
||||
match = re.search(r'get_version \(\s+\"?([0-9.]+)[^0-9.]+', f.read())
|
||||
with open('../../CMakeLists.txt', encoding='utf-8') as f:
|
||||
match = re.search(r'get_version\(\"?([0-9.]+)[^0-9.]+', f.read())
|
||||
if not match:
|
||||
raise ValueError("VERSION not found!")
|
||||
version_number = match[1]
|
||||
|
||||
Reference in New Issue
Block a user