quisp icon indicating copy to clipboard operation
quisp copied to clipboard

Well organized documentation for QuISP

Open wolfitis opened this issue 4 years ago • 13 comments

There are many markdown files in /doc directory that are not easy to follow for people new to QuISP

A well formatted and organized documentation will be a good reference for anyone new to this package. Addition of some basic easy to follow tutorials can be a good starting point for beginners.

To arrange the available docs in some order and link them all together.

Many open source projects have amazing documentations that can be taken as example.

Labels suggestions: [documentation, enhancement]

wolfitis avatar Oct 02 '20 06:10 wolfitis

how about this structure? I think one of the problems is the documentation is far from the actual corresponding source code. The documents that describe the implementation should be put near the source code. For me, it's better than putting whole documents in ./doc directory.

.
├── Authors.md
├── bin
├── dict.txt
├── doc
├── Dockerfile
├── Doxyfile
├── Makefile
├── quisp
│   ├── channels
│   │   └── QuantumChannel.cc
│   ├── classical_messages_m.cc
│   ├── classical_messages_m.h
│   ├── classical_messages.msg
│   ├── Makefile
│   ├── makemakefiles
│   ├── modules
│   │   ├── Application
│   │   │   ├── Application.cc
│   │   │   ├── Application.h
│   │   │   └── README.md
│   │   ├── QRSA
│   │   │   ├── ConnectionManager
│   │   │   │   ├── ConnectionManager.cc
│   │   │   │   ├── ConnectionManager.h
│   │   │   │   └── README.md
│   │   │   ├── HardwareMonitor
│   │   │   │   ├── HardwareMonitor.cc
│   │   │   │   ├── HardwareMonitor.h
│   │   │   │   └── README.md
│   │   │   ├── RealTimeController
│   │   │   │   ├── RealTimeController.cc
│   │   │   │   ├── RealTimeController.h
│   │   │   │   └── README.md
│   │   │   ├── QRSA.ned
│   │   │   └── README.md
│   │   ├── HoM
│   │   │   ├── BellStateAnalyzer
│   │   │   │   ├── BellStateAnalyzer.cc
│   │   │   │   ├── BellStateAnalyzer.h
│   │   │   │   └── README.md
│   │   │   ├── HoMController
│   │   │   │   ├── HoMController.cc
│   │   │   │   ├── HoMController.h
│   │   │   │   └── README.md
│   │   │   ├── HoM.ned
│   │   │   └── README.md

zigen avatar Oct 06 '20 06:10 zigen

How about using readthedocs.org ? If somebody can assign this to me, I'll do the job.

icepolarizer avatar Oct 06 '20 18:10 icepolarizer

I'm not familiar with readthedocs.org. Having something that indexes and creates a table of contents and turns the various markdown files into a single PDF would be useful.

rdviii avatar Oct 07 '20 03:10 rdviii

@zigen your proposal above looks like it's primarily about revising the subdirectory structure for the source, not the documentation?

rdviii avatar Oct 07 '20 03:10 rdviii

Documentation, of course, has multiple purposes. A bunch of what's there so far is either old design docs, some dating back several years, or a narrative/tutorial for beginners, to get them started. Sounds like what @zigen wants is documentation to accompany the code, for coding decisions. That's valuable, and necessary for sound engineering, but we need user's documentation, as well.

rdviii avatar Oct 07 '20 03:10 rdviii

yeah, my proposal for developers, not for users. my proposal should be addressed in other issue.

readthedocs seems good. for example, qulacs uses readthedocs and we can download epub. Screen Shot 2020-10-07 at 14 25 53

readthedocs provides downloadable documentation feature. this seems what we need.

zigen avatar Oct 07 '20 05:10 zigen

Agreed! Also, the integration to GitHub seems to be smooth.

icepolarizer avatar Oct 07 '20 05:10 icepolarizer

What I suggested was the general documentation, it should be easy enough so general users can follow. For developers it shouldn't be an issue to follow the same documentation for contributions. We might not need multiple docs for users and developers.

wolfitis avatar Oct 07 '20 05:10 wolfitis

It's Wednesday Japan time now...in 5.5 days, we will be doing a tutorial on QuISP for IEEE Quantum Week. Can a useful reorg of docs be completed in that time? If not, we should either branch or plan to start work on it after next week's tutorial.

rdviii avatar Oct 07 '20 05:10 rdviii

If you're talking about the conversion of quisp/doc into readthedocs, I think it's possible. Doxygen <-> Readthedocs? If then I can't make it in time.

icepolarizer avatar Oct 07 '20 06:10 icepolarizer

Thanks to @icepolarizer we now have a table of contents, which is a good start! See PR #177, merged into master.

rdviii avatar Oct 10 '20 06:10 rdviii

The links are returning 404 error

wolfitis avatar Oct 11 '20 04:10 wolfitis

Just fixed. Thank you.

icepolarizer avatar Oct 11 '20 05:10 icepolarizer