mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-19 11:18:33 +00:00
First commit
This commit is contained in:
commit
e6e498f63a
157 changed files with 24645 additions and 0 deletions
41
third_party/mathfu-1.1.0/docs/generate_docs.py
vendored
Normal file
41
third_party/mathfu-1.1.0/docs/generate_docs.py
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/python
|
||||
# Copyright 2014 Google Inc. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Generate html documentation from markdown and doxygen comments."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
THIS_DIR = os.path.realpath(os.path.dirname(__file__))
|
||||
PROJECT_DIR = os.path.realpath(os.path.join(THIS_DIR, os.pardir))
|
||||
sys.path.extend(
|
||||
[os.path.realpath(os.path.join(PROJECT_DIR, os.pardir, 'fplutil')),
|
||||
os.path.realpath(os.path.join(PROJECT_DIR, 'dependencies', 'fplutil'))])
|
||||
import docs # pylint: disable=C6204
|
||||
|
||||
|
||||
def main():
|
||||
"""Generate html documentation from markdown and doxygen comments.
|
||||
|
||||
Returns:
|
||||
0 if successful, 1 otherwise.
|
||||
"""
|
||||
sys.argv.extend(('--linklint-dir', THIS_DIR,
|
||||
'--source-dir', os.path.join(THIS_DIR, 'src'),
|
||||
'--project-dir', PROJECT_DIR))
|
||||
return docs.generate_docs.main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
Loading…
Add table
Add a link
Reference in a new issue