Moving mkdocs_macros package into hack directory

This commit is contained in:
MoShitrit 2020-07-13 23:35:51 -04:00
parent af2933b3a7
commit 0c3296d2fb
4 changed files with 51 additions and 4 deletions

23
hack/__init__.py Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python
# Copyright 2020 The Kubernetes Authors.
#
# 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.
def main():
pass
if __name__ == "__main__":
main()

View File

@ -0,0 +1,26 @@
#!/usr/bin/env python
# Copyright 2020 The Kubernetes Authors.
#
# 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.
from .feature_stability_table import define_env
def main():
pass
if __name__ == "__main__":
main()

View File

@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# -*- coding: utf-8 -*-
def define_env(env): def define_env(env):
"""Hook function""" """Hook function"""
@ -64,5 +62,5 @@ def main():
pass pass
if __name__ == '__main__': if __name__ == "__main__":
main() main()

View File

@ -27,7 +27,7 @@ theme:
plugins: plugins:
- search - search
- macros: - macros:
module_name: mkdocs_macros module_name: hack.mkdocs_macros
extra_css: [extra.css] extra_css: [extra.css]
nav: nav: