Contributing to Math Apps

Thank you for your interest in contributing to Math Apps! We welcome contributions from everyone, whether you are developing interactive JavaScript visualizations, structuring HTML pages, creating Quarto documents, or writing Python notebooks.

Licensing Policy

By contributing to this repository, you agree that your contributions will be licensed under the project’s Apache License 2.0.

Because copyright in this project is distributed, you retain ownership of your code, but you grant the community a perpetual, royalty-free license to use, modify, and distribute it under the Apache 2.0 terms.


File Header Templates

To maintain consistency and ensure everyone receives proper academic and legal credit, every new code or content file added to this repository must include a copyright header at the very top.

Please copy, paste, and update the template matching your file’s language:

1. Quarto Documents (.qmd) and Markdown Files (.md)

For Markdown and Quarto files, wrap the header in standard HTML comment tags at the very beginning of the document:

<!--
Copyright (c) [Year] [Your Name]. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: [Your Name]
-->

2. Jupyter Notebooks (.ipynb)

For Jupyter Notebooks, create a Markdown cell at the very top of your notebook and paste the following:

> **Copyright (c) [Year] [Your Name]. All rights reserved.**  
> *Released under Apache 2.0 license as described in the file LICENSE.*  
> **Authors:** [Your Name]

3. JavaScript / TypeScript / CSS Files (.js, .ts, .css)

/**
 * Copyright (c) [Year] [Your Name]. All rights reserved.
 * Released under Apache 2.0 license as described in the file LICENSE.
 * Authors: [Your Name]
 */

4. Python / R / Configuration Files (.py, .R, .yml)

# Copyright (c) [Year] [Your Name]. All rights reserved.
# Released under Apache 2.0 license as described in the file LICENSE.
# Authors: [Your Name]

5. HTML Files (.html)

<!--
Copyright (c) [Year] [Your Name]. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: [Your Name]
-->

Managing Headers on Existing Files

  • Minor edits: If you are fixing a bug, adjusting layout spacing, or correcting a typo in an existing file, you do not need to alter the header.
  • Significant additions: If you contribute a substantial new feature, script, or section to an existing file, please add your name to the Authors line of that file:
Authors: Apurva Nakade, [Your Name]