From 7aba207a674d9ac83376d446deb6e8bd26c584d0 Mon Sep 17 00:00:00 2001 From: Frans Bouma Date: Wed, 10 Feb 2016 12:02:32 +0100 Subject: [PATCH] Added headers with license. As well as license text to readme --- readme.md | 11 ++++++++++- src/CliInput.cs | 24 +++++++++++++++++++++++- src/Config.cs | 24 +++++++++++++++++++++++- src/Constants.cs | 24 +++++++++++++++++++++++- src/Engine.cs | 24 +++++++++++++++++++++++- src/INavigationElement.cs | 24 +++++++++++++++++++++++- src/NavigatedPath.cs | 24 +++++++++++++++++++++++- src/NavigationElement.cs | 24 +++++++++++++++++++++++- src/NavigationLevel.cs | 24 +++++++++++++++++++++++- src/Program.cs | 24 +++++++++++++++++++++++- src/SearchIndexEntry.cs | 24 +++++++++++++++++++++++- src/SimpleNavigationElement.cs | 24 +++++++++++++++++++++++- src/Utils.cs | 24 +++++++++++++++++++++++- 13 files changed, 286 insertions(+), 13 deletions(-) diff --git a/readme.md b/readme.md index 61922d6..5ddc65c 100644 --- a/readme.md +++ b/readme.md @@ -116,4 +116,13 @@ This application wouldn't be possible without the work of others. The (likely in I wrote the initial version in roughly 7-8 days, to meet our needs for generating a static searchable documentation site. It therefore might not match what you need or not flexible enough. Feel free to fork the repo and adjust it accordingly! ##License -MIT. \ No newline at end of file +The MIT License (MIT) + +Copyright (c) 2016 Frans Bouma + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/src/CliInput.cs b/src/CliInput.cs index c011439..24b93f6 100644 --- a/src/CliInput.cs +++ b/src/CliInput.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Config.cs b/src/Config.cs index c8d4e96..0a2ba21 100644 --- a/src/Config.cs +++ b/src/Config.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Constants.cs b/src/Constants.cs index 2c5fa78..69aed6d 100644 --- a/src/Constants.cs +++ b/src/Constants.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/Engine.cs b/src/Engine.cs index abfd15e..28435cf 100644 --- a/src/Engine.cs +++ b/src/Engine.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.IO; namespace Docnet diff --git a/src/INavigationElement.cs b/src/INavigationElement.cs index 12be792..0e97aac 100644 --- a/src/INavigationElement.cs +++ b/src/INavigationElement.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/NavigatedPath.cs b/src/NavigatedPath.cs index 278701e..b2c53df 100644 --- a/src/NavigatedPath.cs +++ b/src/NavigatedPath.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/NavigationElement.cs b/src/NavigationElement.cs index a84c7ee..dd86175 100644 --- a/src/NavigationElement.cs +++ b/src/NavigationElement.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/NavigationLevel.cs b/src/NavigationLevel.cs index 21a6cac..40ca295 100644 --- a/src/NavigationLevel.cs +++ b/src/NavigationLevel.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Program.cs b/src/Program.cs index ffa5ff0..fc00c3d 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/SearchIndexEntry.cs b/src/SearchIndexEntry.cs index fc21f53..44d0564 100644 --- a/src/SearchIndexEntry.cs +++ b/src/SearchIndexEntry.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/src/SimpleNavigationElement.cs b/src/SimpleNavigationElement.cs index 6909af0..59d02e6 100644 --- a/src/SimpleNavigationElement.cs +++ b/src/SimpleNavigationElement.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Utils.cs b/src/Utils.cs index 380325b..4ec96d4 100644 --- a/src/Utils.cs +++ b/src/Utils.cs @@ -1,4 +1,26 @@ -using System; +////////////////////////////////////////////////////////////////////////////////////////////// +// DocNet is licensed under the MIT License (MIT) +// Copyright(c) 2016 Frans Bouma +// Get your copy at: https://github.com/FransBouma/DocNet +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in the +// Software without restriction, including without limitation the rights to use, copy, +// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, +// and to permit persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies +// or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. +////////////////////////////////////////////////////////////////////////////////////////////// +using System; using System.Collections.Generic; using System.IO; using System.Linq;