Skip to content

Commit d31f871

Browse files
justinchubyCopilot
andauthored
chore: update license headers to Microsoft MIT (#131)
Replace ONNX Project Contributors / Apache-2.0 header with Microsoft Corporation / MIT License header across all Python files. --------- Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e4aa14d commit d31f871

323 files changed

Lines changed: 654 additions & 638 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/skills/adding-a-new-model/SKILL.md

Lines changed: 3 additions & 3 deletions

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 ONNX Runtime
3+
Copyright (c) 2026 Microsoft Corporation
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Copyright (c) ONNX Project Contributors
2-
# SPDX-License-Identifier: Apache-2.0
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
34
"""Root conftest: ensure the local worktree src/ is on sys.path first."""
45

56
from __future__ import annotations

docs/_ext/dashboard.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
14
"""Sphinx extension: generate the confidence dashboard after build.
25
36
Hooks into ``build-finished`` to run ``scripts/generate_dashboard.py``

docs/_ext/flags_gen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
14
"""Sphinx extension: generate feature flags documentation at build time.
25
36
Hooks into ``builder-inited`` to generate ``docs/feature-flags.md`` from

docs/_ext/models_gen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
14
"""Sphinx extension: generate model documentation pages at build time.
25
36
Hooks into ``builder-inited`` to run the existing model page generator

docs/_generate_flags_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) ONNX Project Contributors
3-
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) Microsoft Corporation.
3+
# Licensed under the MIT License.
44

55
"""Auto-generate docs/feature-flags.md from the _Flags dataclass.
66

docs/_generate_models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
14
"""Generate model documentation pages from the registry.
25
36
Run before building docs:

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
14
"""Configuration file for the Sphinx documentation builder.
25
36
To build the documentation: python -m sphinx docs docs/_build/html
@@ -14,8 +17,8 @@
1417
# -- Project information -----------------------------------------------------
1518

1619
project = "mobius"
17-
copyright = "2026, ONNX Project Contributors"
18-
author = "ONNX Project Contributors"
20+
copyright = "2026, Microsoft Corporation"
21+
author = "Microsoft Corporation"
1922

2023
# -- General configuration ---------------------------------------------------
2124

examples/build_and_save.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
2-
# Copyright (c) ONNX Project Contributors
3-
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) Microsoft Corporation.
3+
# Licensed under the MIT License.
44

55
"""Build and save — the simplest possible example.
66

0 commit comments

Comments
 (0)