Skip to content

Commit

Permalink
fix naming of md files to ALL CAPS and add links to Installation and …
Browse files Browse the repository at this point in the history
…Contribution instructions on github

these will only work properly after merging into main
  • Loading branch information
dasmy authored and AdrianSosic committed Jun 14, 2021
1 parent 1ad3543 commit be48447
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow uses git diff to count the added lines to Changelog.md in a pull request
# This workflow uses git diff to count the added lines to CHANGELOG.md in a pull request
# and ensure that it is larger than zero.
name: Analyze Changelog

Expand All @@ -18,11 +18,11 @@ jobs:
- name: Analyze Changelog
run: |
git fetch origin main:main
NUM_ADDED=`git diff --numstat main Changelog.md | cut -d$'\t' -f1`
NUM_ADDED=`git diff --numstat main CHANGELOG.md | cut -d$'\t' -f1`
if [ "$NUM_ADDED" -gt "0" ]; then
echo "$NUM_ADDED lines have been added to Changelog.md"
echo "$NUM_ADDED lines have been added to CHANGELOG.md"
exit 0
else
echo "Nothing has been added to Changelog.md"
echo "Nothing has been added to CHANGELOG.md"
exit 1
fi
File renamed without changes.
2 changes: 1 addition & 1 deletion Readme.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A comprehensive Python package for **Non-Negative Matrix Factorization (NMF)** w
The packages supports multiple optimization backends and can be easily extended to handle application-specific types of transforms.

# General Introduction
A general introduction to Non-Negative Matrix Factorization and the purpose of this package can be found [here](GeneralIntroduction.md) and on the package's [PyPI page](https://pypi.org/project/tnmf/).
A general introduction to Non-Negative Matrix Factorization and the purpose of this package can be found [here](doc/GeneralIntroduction.md) and on the package's [PyPI page](https://pypi.org/project/tnmf/).

# Installation
For using this package, you will at least need Python version 3.6 (or higher).
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ The packages supports multiple optimization backends and can be easily extended
:caption: Contents

link_generalintroduction
autoapi/index
link_changelog
link_license
autoapi/index
Installation <https://github.com/emdgroup/tnmf/tree/main#installation>
Contributing <https://github.com/emdgroup/tnmf/tree/main#contributing>

Indices and tables
==================
Expand Down
2 changes: 1 addition & 1 deletion doc/link_changelog.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. mdinclude:: ../Changelog.md
.. mdinclude:: ../CHANGELOG.md
2 changes: 1 addition & 1 deletion doc/link_generalintroduction.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. mdinclude:: ../GeneralIntroduction.md
.. mdinclude:: ./GeneralIntroduction.md

0 comments on commit be48447

Please sign in to comment.