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

Move docs to dexie.org #464

Closed
dfahlander opened this issue Jan 30, 2017 · 16 comments
Closed

Move docs to dexie.org #464

dfahlander opened this issue Jan 30, 2017 · 16 comments

Comments

@dfahlander
Copy link
Collaborator

Follow-up from #22.

@dfahlander
Copy link
Collaborator Author

The jekyll branch: Just followed the guide for setting up jekyll on github. index.html was renamed.

The goal should be to rewrite the current index.html to be jekyll-compliant and have links to the documentation.

@dfahlander
Copy link
Collaborator Author

dfahlander commented Jan 30, 2017

To get it moving, I've now merged in the branch to the main gh-pages branch, so we can watch it at http://dexie.org/jekyll-index.html.

Also created a github project with some tasks we will need to do: https://github.com/dfahlander/Dexie.js/projects/1

@dfahlander dfahlander moved this from TODO to In progress in Move docs to dexie.org (#464) Jan 30, 2017
@nponiros
Copy link
Collaborator

Nice! Will have a look at it later tonight and try to asses how much effort it will take to convert the wiki pages to jekyll compatible markdown

@dfahlander dfahlander moved this from In progress to (related issues) in Move docs to dexie.org (#464) Jan 30, 2017
@dfahlander
Copy link
Collaborator Author

There's a nice guide here. I think we should put the MD files under a new directory _pages rather than _posts. https://www.taniarascia.com/make-a-static-website-with-jekyll/

@dfahlander
Copy link
Collaborator Author

dfahlander commented Jan 30, 2017

I was able to test site locally after installing jekyll by writing

jekyll serve

image

I could then view the site through http://localhost:4000/jekyll-index.html

@nponiros
Copy link
Collaborator

So I had a quick look at jekyll after spending half an hour installing it and resulting in removing the Gemfile and Gemfile.lock (there is some version mismatch I guess). The good news is that converting the wiki pages shouldn't be more work than with the tool I created. I guess it will take half a day to a day to add front-matter, fix all links, add links to edit the file. The bad news is I will need to create layouts in jekyll and I'm not familiar with its syntax. I would say depending on the requirements (how many different layouts are needed, do we switch to sass, different headers/footers etc) the switch shouldn't take more than a few days.

Personally I think we should start with the simplest possible solution (probably just take the layout from the demo site I created) and after we made the switch we can improve the layouts etc. The reason for that: the longer we keep docs in the website git and the wiki the more work it will be later to again migrate any changes made in the wiki.

@dfahlander
Copy link
Collaborator Author

A minimal design is a big step anyway. Could improve design later on.

@nponiros
Copy link
Collaborator

Well I'm making some progress here. I created a docs folder instead of _pages because it is easier this way to have the right URLs later. Next step would be to add front-matter, fix the layout and remove useless stuff

@nponiros
Copy link
Collaborator

@dfahlander do you like the design of the demo site (documentation part, index was unchanged) I made for a first version or do you want anything changed?

@dfahlander
Copy link
Collaborator Author

I think it's fine for now. It seems to use the same font and the same logo which is good. Could be enhanced over time. The blue background color seems a little to strong maybe. A lighter color might be better. Table of contents might be possible to improve. Maybe have list-style: none on the items in table of contents. Possibly have a fixed height and overflow-y: auto on it to generate scrollbars. But I could laborate with the design when I get some time. Also see if we could sew it together better with the index page.

@nponiros
Copy link
Collaborator

okay. I will see what I can do. I will create a PR for the website repo (Saturday at latest) so you can have a look and make changes.

@nponiros
Copy link
Collaborator

nponiros commented Feb 4, 2017

Pull request is open dexie/dexie-website#3 .

@nponiros
Copy link
Collaborator

nponiros commented Feb 4, 2017

@dfahlander please enable issues for the dexie.js-web repository. I found some links which are broken in the wiki (Promise.then(), Promise.catch()) do not exist as wiki pages. It would be could if we can have issues like that on the dexie.js-web repo.

@dfahlander
Copy link
Collaborator Author

It's enabled

@dfahlander
Copy link
Collaborator Author

Thanks @nponiros for the awesome work with moving the docs! It's now up and running on http://dexie.org/docs. Anyone following this issue, please have a look at the new docs and give your feedback!

@dfahlander
Copy link
Collaborator Author

Closing this as docs are moved.

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

No branches or pull requests

2 participants