Skip to content
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

Split Sections to Files #6

Open
hasanbayatme opened this issue Jun 15, 2017 · 9 comments
Open

Split Sections to Files #6

hasanbayatme opened this issue Jun 15, 2017 · 9 comments

Comments

@hasanbayatme
Copy link

Hi.

It is better to split sections to separated files for more readability and ease of use.

For example split section Node.js to a node-js.md file.

Thanks.

Best Regards.

@dexteryy
Copy link
Owner

dexteryy commented Jun 15, 2017

@EmpireWorld Thanks for the suggestion. It is a real problem that should be solved. However, a multi-page repo has its drawbacks, such as not being able to use browser's find feature, not being able to see the whole thing and scroll through all of it (like a mindmap).

I've got a plan to build a web app which can be automatically generated from the text pattern and structure in the current single-file document. A web app can be much more efficient and can support some useful features.

@hasanbayatme
Copy link
Author

You can provide a table of contents file by links to the corresponding files. that supports browser search.

But the Web App idea is better.

@Albwrt
Copy link

Albwrt commented Jun 17, 2017

Think you For that

Repository owner deleted a comment Jun 19, 2017
@tythewebguy
Copy link

For what it's worth, I prefer having a single file.

Perhaps we can identify the problem being solved by splitting things into multiple files. There may be other solutions available.

@hasanbayatme
Copy link
Author

He can provide both of them, first he made a single file, then he make multiple files. but it makes work harder for himself, because when he wants to edit the single file he should scrimmage with the big data. but when there were split content there is no need to scrimmage.

@tythewebguy
Copy link

tythewebguy commented Jun 29, 2017

Yes, but what exactly is the problem being solved? Is the problem readability and ease of use? If so, what makes it difficult to read and use? Jumping between TOC and content? The length of the content?

I'm just trying to understand the problem before jumping to a solution. There may be other solutions that make it easier to manage and use the content. Maybe multiple files is the way to go, but I'm just trying to take a step back and see the big picture instead of zooming in on a specific solution.

@hasanbayatme
Copy link
Author

You are smart man, you are right, but the i am thinking about everyone behaviour.

Think about a mobile agent or tablet, it makes it hard for the user to find the wanted content.

Re: Yes, i mean the readability and ease of use for both reader and writer.

Re: The length of the content. Makes it hard for reader and writer. writer should search for the content in a long way but when he can it in a separated file.

If you have any solutions we are here to listen.

It is just a recommendation.

Thanks.

@chuanqisun
Copy link

chuanqisun commented Feb 21, 2018

Agree with you @dexteryy, reader experience and author experience are two somewhat conflicting forces. File splitting might help the author organize content but may undermine the search/find experience for the reader. It's key to think about who are the more value audience of this document. Another draw back is that once you split the files, inter-linking between files will become fragile.

@ycaptain
Copy link

ycaptain commented Jan 3, 2021

@EmpireWorld Thanks for the suggestion. It is a real problem that should be solved. However, a multi-page repo has its drawbacks, such as not being able to use browser's find feature, not being able to see the whole thing and scroll through all of it (like a mindmap).

I've got a plan to build a web app which can be automatically generated from the text pattern and structure in the current single-file document. A web app can be much more efficient and can support some useful features.

Any progress? Maybe you can create a repo to start the web app and we could try to contribute to it.

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

No branches or pull requests

7 participants
@dexteryy @chuanqisun @tythewebguy @hasanbayatme @ycaptain @Albwrt and others