From b962b7ca24caa184269feda9c6087aa1a9233e4a Mon Sep 17 00:00:00 2001 From: Trevor Keller Date: Mon, 18 Sep 2023 20:16:38 -0400 Subject: [PATCH] Update LICENSE --- LICENSE.md | 27 --------------------------- LICENSE.rst | 31 +++++++++++++++++++++++++++++++ doc/Makefile | 4 ++-- doc/conf.py | 10 ++++++++-- 4 files changed, 41 insertions(+), 31 deletions(-) delete mode 100644 LICENSE.md create mode 100644 LICENSE.rst diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index e6d41fd..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,27 +0,0 @@ -# Terms of Use - -This software was developed by employees of the -[National Institute of Standards and Technology](http://www.nist.gov), an agency -of the Federal Government and is being made available as a public service. -Pursuant to -[Title 17 United States Code Section 105](https://www.copyright.gov/title17/92chap1.html#105), -works of NIST employees are not subject to copyright protection in the United -States. This software may be subject to foreign copyright. Permission in the -United States and in foreign countries, to the extent that NIST may hold -copyright, to use, copy, modify, create derivative works, and distribute this -software and its documentation without fee is hereby granted on a non-exclusive -basis, provided that this notice and disclaimer of warranty appears in all -copies. - -THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER -EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY -THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM -INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE -SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT -SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, -INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR -IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, -CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR -PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT -OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. diff --git a/LICENSE.rst b/LICENSE.rst new file mode 100644 index 0000000..0361c82 --- /dev/null +++ b/LICENSE.rst @@ -0,0 +1,31 @@ +************ +Terms of Use +************ + +NIST-developed software is provided by NIST as a public service. You may use, +copy, and distribute copies of the software in any medium, provided that you +keep intact this entire notice. You may improve, modify, and create derivative +works of the software or any portion of the software, and you may copy and +distribute such modifications or works. Modified works should carry a notice +stating that you changed the software and should note the date and nature of +any such change. Please explicitly acknowledge the National Institute of +Standards and Technology as the source of the software. + +NIST-developed software is expressly provided "AS IS." NIST MAKES NO WARRANTY +OF ANY KIND, EXPRESS, IMPLIED, IN FACT, OR ARISING BY OPERATION OF LAW, +INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND DATA ACCURACY. NIST NEITHER +REPRESENTS NOR WARRANTS THAT THE OPERATION OF THE SOFTWARE WILL BE +UNINTERRUPTED OR ERROR-FREE, OR THAT ANY DEFECTS WILL BE CORRECTED. NIST DOES +NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF THE SOFTWARE OR +THE RESULTS THEREOF, INCLUDING BUT NOT LIMITED TO THE CORRECTNESS, ACCURACY, +RELIABILITY, OR USEFULNESS OF THE SOFTWARE. + +You are solely responsible for determining the appropriateness of using and +distributing the software and you assume all risks associated with its use, +including but not limited to the risks and costs of program errors, compliance +with applicable laws, damage to or loss of data, programs or equipment, and the +unavailability or interruption of operation. This software is not intended to +be used in any situation where a failure could cause risk of injury or damage +to property. The software developed by NIST employees is not subject to +copyright protection within the United States. diff --git a/doc/Makefile b/doc/Makefile index f960191..c1d4217 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -9,11 +9,11 @@ _build/latex/hiperc.tex: _build/latex/hiperc.pdf: _build/latex/hiperc.tex latexmk -cd $< -_build/html/index.html: _build/latex/hiperc.tex +_build/html/index.html: _build/latex/hiperc.pdf sphinx-build -b html . _build .PHONY: clean html pdf clean: - rm -rf _build _static html latex rst + rm -rf _build rst html: _build/html/index.html pdf: _build/latex/hiperc.pdf diff --git a/doc/conf.py b/doc/conf.py index 4c9ce16..02692f3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -83,7 +83,13 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "README.md"] +exclude_patterns = [ + ".github", + "_build", + "Thumbs.db", + ".DS_Store", + "README.md" +] # The reST default role (used for this markup: `text`) to use for all documents. default_role = "cpp:any" @@ -239,7 +245,7 @@ def setup(app): # -- Options for Breathe output --------------------------------------------- -breathe_projects = {"HiPerC": "xml"} +breathe_projects = {"HiPerC": "_build/xml"} breathe_default_project = "HiPerC"