Skip to content

Conversation

@stevenhua0320
Copy link
Contributor

@zmx27 Ready to review

Copy link
Contributor

@zmx27 zmx27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments. However, the most important thing to do here is to run make html and seeing how the documentation is rendering. It would be nice if you could also post some screenshots of how your locally built documentation looks as well

@@ -1,14 +1,14 @@
INFO: Number of function calls = 7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be an issue with the cp command that you likely ran. We would like these files to remain in the examples folder, not directly under the docs directory


# abbreviations
ab_authors = "Xiaohao Yang, Simon J.L. Billinge group"
ab_authors = "Simon Billinge, Billinge Group members"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change back to Xiaohao Yang, Billinge Group members


.. |title| replace:: diffpy.srxplanar documentation

``diffpy.srxplanar`` - Distance Printer, calculate the inter atomic distances. Part of xPDFsuite
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace this description


Welcome to the ``diffpy.srxplanar`` documentation!

To get started, please visit the :ref:`Getting started <getting-started>` page.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like you deleted the getting-started.rst file, so you should probably delete this section too. Alternatively, you can also add back that file and write some lightweight information about the package in it if you want

.. toctree::
:maxdepth: 2

getting-started
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're not going to have this file, remove


Xiaohao Yang, Pavol Juhas, Simon J. L. Billinge, On the estimation of
statistical uncertainties on powder diffraction and small angle
scattering data from 2-D x-ray detectors, arXiv:1309.3614
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest putting this information somewhere other than the Acknowledgements section

Authors
=======

``diffpy.srxplanar`` is developed by Simon Billinge, Billinge Group members. The maintainer for this project is Simon Billinge. For a detailed list of contributors see
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

developed by Xiaohao Yang and Billinge Group members maybe, but maintainer is still Professor Simon

=============================
BSD 3-Clause License

Copyright (c) 2025, The Trustees of Columbia University in the City of New York.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we will be going with this license or staying with the old one, so let's ask. Regardless, a quick lookup in the repo tells me that this should probably be 2008-2025?

@stevenhua0320
Copy link
Contributor Author

Screenshot 2025-10-22 at 11 59 54 AM Screenshot 2025-10-22 at 12 00 37 PM Screenshot 2025-10-22 at 12 00 53 PM

@@ -0,0 +1,46 @@
#######
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the part from the old index.rst file starting with diffpy.srxplanar package provides 2D diffraction image integration using non splitting pixel algorithm...

Copy link
Contributor

@zmx27 zmx27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good now

@stevenhua0320
Copy link
Contributor Author

@sbillinge Ready to review

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good. I thnk we normally like to put the data files in docs/examples/data. Can the examples be made to work with this arrangement or the data have to be in the same directory?

Does SrxPlanar have a BSD license? If so that's great, just please double-check in the original.

@stevenhua0320
Copy link
Contributor Author

this looks good. I thnk we normally like to put the data files in docs/examples/data. Can the examples be made to work with this arrangement or the data have to be in the same directory?

Does SrxPlanar have a BSD license? If so that's great, just please double-check in the original.

Let me try for the data files in docs/examples/data to see whether it still works. I have checked the two licenses and they all use BSD license material originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants