Skip to content

Commit

Permalink
Moving mkdocs_macros package into hack directory
Browse files Browse the repository at this point in the history
  • Loading branch information
MoShitrit committed Jul 14, 2020
1 parent af2933b commit 240a1c6
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
26 changes: 26 additions & 0 deletions hack/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

#!/usr/bin/env python
# -*- coding: utf-8 -*-


def main():
pass


if __name__ == "__main__":
main()
28 changes: 28 additions & 0 deletions hack/mkdocs_macros/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/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.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from .feature_stability_table import define_env


def main():
pass


if __name__ == "__main__":
main()
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env python
# -*- coding: utf-8 -*-


Expand Down Expand Up @@ -64,5 +65,5 @@ def main():
pass


if __name__ == '__main__':
if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ theme:
plugins:
- search
- macros:
module_name: mkdocs_macros
module_name: hack.mkdocs_macros
extra_css: [extra.css]

nav:
Expand Down

0 comments on commit 240a1c6

Please sign in to comment.