-
Notifications
You must be signed in to change notification settings - Fork 18
skpkg: Update rst files, copyright year in license, and autodoc_mock_import
#139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
11fb165
skpkg: gitignore update
cadenmyers13 c6d13b0
skpkg: small changes to rst file formating in docs, changelog, and re…
cadenmyers13 1aef091
skpkg: change copyright to 2025 in LICENSE.rst
cadenmyers13 a921646
docs: autodoc mock imports for doc rendering
cadenmyers13 4f5d7a7
skpkg: update copyright to 2025 in license.rst
cadenmyers13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
:target: https://diffpy.github.io/diffpy.pdffit2 | ||
:height: 100px | ||
|
||
|PyPi| |Forge| |PythonVersion| |PR| | ||
|PyPI| |Forge| |PythonVersion| |PR| | ||
|
||
|CI| |Codecov| |Black| |Tracking| | ||
|
||
|
@@ -26,7 +26,7 @@ | |
|
||
.. |PR| image:: https://img.shields.io/badge/PR-Welcome-29ab47ff | ||
|
||
.. |PyPi| image:: https://img.shields.io/pypi/v/diffpy.pdffit2 | ||
.. |PyPI| image:: https://img.shields.io/pypi/v/diffpy.pdffit2 | ||
:target: https://pypi.org/project/diffpy.pdffit2/ | ||
|
||
.. |PythonVersion| image:: https://img.shields.io/pypi/pyversions/diffpy.pdffit2 | ||
|
@@ -87,19 +87,17 @@ The preferred method is to use `Miniconda Python | |
<https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>`_ | ||
and install from the "conda-forge" channel of Conda packages. | ||
|
||
Add the "conda-forge" channel by running the following command in a terminal: :: | ||
To add "conda-forge" to the conda channels, run the following in a terminal. :: | ||
|
||
conda config --add channels conda-forge | ||
|
||
Create a new environment named ``diffpy.pdffit2_env`` and install ``diffpy.pdffit2``: :: | ||
We want to install our packages in a suitable conda environment. | ||
The following creates and activates a new environment named ``diffpy.pdffit2_env`` :: | ||
|
||
conda create -n diffpy.pdffit2_env diffpy.pdffit2 | ||
|
||
Activate the environment: :: | ||
|
||
conda activate diffpy.pdffit2_env | ||
|
||
Confirm that the installation was successful: :: | ||
To confirm that the installation was successful, type :: | ||
|
||
python -c "import diffpy.pdffit2; print(diffpy.pdffit2.__version__)" | ||
|
||
|
@@ -118,25 +116,20 @@ Install pdffit2 using ``pip`` to download and install the latest version from `P | |
|
||
pip install diffpy.pdffit2 | ||
|
||
Confirm that the installation was successful: :: | ||
To confirm that the installation was successful, type :: | ||
|
||
python -c "import diffpy.pdffit2; print(diffpy.pdffit2.__version__)" | ||
|
||
Build from source | ||
~~~~~~~~~~~~~~~~~ | ||
If you prefer to install from sources, after installing the dependencies, obtain the source archive from | ||
`GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory | ||
and run the following :: | ||
|
||
For advanced users, obtain the source archive, and in the ``diffpy.pdffit2`` directory, run :: | ||
pip install . | ||
|
||
conda create -n diffpy.pdffit2_env python=3.13 \ | ||
--file requirements/test.txt \ | ||
--file requirements/conda.txt \ | ||
--file requirements/build.txt | ||
Getting Started | ||
--------------- | ||
|
||
Activate the environment, build the package, and run unit tests by following commands sequentially: :: | ||
|
||
conda activate diffpy.pdffit2_env | ||
pip install . --no-deps | ||
pytest | ||
You may consult our `online documentation <https://diffpy.github.io/diffpy.pdffit2>`_ for tutorials and API references. | ||
|
||
Support and Contribute | ||
---------------------- | ||
|
@@ -182,4 +175,9 @@ Before contributing, please read our `Code of Conduct <https://github.com/diffpy | |
Contact | ||
------- | ||
|
||
For more information on diffpy.pdffit2 please visit the project `web-page <https://diffpy.github.io/>`_ or email Prof. Simon Billinge at [email protected]. | ||
For more information on diffpy.pdffit2 please visit the project `web-page <https://diffpy.github.io/>`_ or email Simon Billinge at [email protected]. | ||
|
||
Acknowledgements | ||
---------------- | ||
|
||
``diffpy.pdffit2`` is built and maintained with `scikit-package <https://scikit-package.github.io/scikit-package/>`_. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* <news item> | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* Migrate documentation to `scikit-package 0.1.0` standards, including a mock import for API rendering. | ||
|
||
**Security:** | ||
|
||
* <news item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this so I could get API to render properly when i built docs.