We have installed the plugins below. I think they need a bit of fiddling to work out how to actually use them . . I started but have run out of time. Notes below, hopefully @simoneluijckx and @sstead will have more luck!
NB. Helpful notes if anyone wants to work on custom theming . . I am putting that as ânext stepâ after weâve confirmed functionality ok
For custom CSS styles, add a CSS file to your bookâs repo, and update book.json to tell GitBook where the file lives:
"website": "path/to/file.css"
},
If you want more control over the HTML used in the layout, copy the _layouts folder from the theme youâre currently using, add it to your bookâs repo, and then customize as necessary. That might take some additional work.
eskwayrd [11:48 AM] @kirsten Installing the plugins is a simple matter of editing your book.json. If a plugin is available at https://plugins.gitbook.com/, you just include its name in the plugins: section of book.json. For example:
Before starting on the transfer from userguide to Gitbook I have some questions and words I donât understand. Maybe itâs the language, more probably itâs the tech terms We can make a âglossaryâ perhaps, as @Kirsten suggested! If more people are unfamiliair with them.
Words / abbr
anchor links:
OFN CC:
Repo:
Questions
Are we focussing on copying the userguide or on updating and adapting it before transferring it to Gitbook?
When would the userguide be âsmart and collaborativeâ to us? Or to users? (So, what do we need to change to make it smart and collaborative?)
Do we have specific feedback on the content and/or structure of the userguide from users / OFN team to take into account?
Gitbook is synched with Github, how can we make changes by using Github? (or is this not applicable to me?)
What do you prefer us to use when making changes, Gitbook or Github?
1. Are we focussing on copying the userguide or on updating and adapting it before transferring it to Gitbook?
The current version is already transferred to gitbook (or version from a month or two ago when @jveilleux got someone to do it). Iâm open to @ssteadâs view on how to do this . . but for my 2c Iâve started using the gitbook one already because the searchable-ness makes it easy for me to find things when I canât find them in the wordpress one. So I suspect we should be focusing on improving, updating and adapting the gitbook version
2. When would the userguide be âsmart and collaborativeâ to us? Or to users? (So, what do we need to change to make it smart and collaborative?
Not sure ⌠others probably have a better handle on this. I think the version control, forking and other features of Gitbook will go a long way to delivering this
3. Do we have specific feedback on the content and/or structure of the userguide from users / OFN team to take into account?
If you can get accordion / expand-collapse menus working well, I think a lot more sub-pages will make sense. Gitbook allows easy clicking through to the next page to flow sequentially, but when you search it shows you the page titles and first para . . so having pages with quite specific titles will make it easier for people to go exactly to the one they want
I am not sure how the linking will work, but hopeful that this system will make it easier to refer to the same page / content from multiple places. So the structure with âtype-ledâ instructions e.g. as a farmersâ market can co-exist nicely with set-up guides etc
4. Gitbook is synched with Github, how can we make changes by using Github? (or is this not applicable to me?)- What do you prefer us to use when making changes, Gitbook or Github?
I think you will find Gitbook easier to get going, but no problem if you become familiar with github and prefer to do it there - might actually run quicker. There may be some syntax considerations, but you would be able to work that out easily if there are
I guess maybe something like this guide makes a good starting point on how you can work with the markdown files (gitbook pages) on desktop/offline. Team this up with the github repo and you have your editing alternative to in-browser editing at gitbook.com
Linking to (sub)chapters
This is the example code: [link text](../<chapter>/<article>.md)
To easily find the text fitting here: <chapter>/<article>.md right click on the chapter you want to link to and click âEdit Pointerâ. Here you find the text.
Enable âedit markdownâ to view and work in the code. Go to the right bottom question mark icon for this. This way you can also easily make changes.
Copy and paste
DONâT use the âctrl+c and ctrl+vâ keys to copy text from userguide to Gitbook. Somehow makes it very hard to edit the text â the pointer keeps jumping away and reacts very weird on changing text style. DO use the copy paste with your right click.
Also saw this tip:
âThe paste seems to go through if you paste to a blank line with a blank line on either side. The paste seemed to fail most often in cases where I was pasting into markdown URLs. If I framed the URL with brackets and parentheses first, I wouldnât be able to paste inside of them. Making a few extra blank lines so I could paste, pasting, and then deleting the extra lines to make it look as intended seemed to do the trick.â
Grammarly
I was using Grammarly for the spellcheck, but this made editing on the page impossible. Kept changing my pointer and selecting words I didnât want to. When I disabled the Grammarly extension, everything worked normal again.
? What is the difference between a âproducer hubâ or a âhub shop
? What is the difference between âpackage, account, profileâ â seems confusing when explaining first set-up steps
? What is the difference between âchange packageâ or go to âEnterpriseâ and change things? â change package section
? Your profile page (step 4): right now this is an overview of all the sections in the right bar of your profile page. I think we can use this as a special chapter âall the sections explainedâ, but I donât think they have to go through all the info to finish their account and be visible and get started.
Can we recreate this page to the necessary steps only?
Added: Setup guide:
â âGetting startedâ section (step 1 till 4)
â âamount of timeâ and âwhatâs neededâ at beginning of each step Cover page Frequently Used Terms Some extra FAQs Embedded shopfront page
Collapsable + subchapters:
Case studies
Advanced Features
FAQs
Added some FAQs
Made FAQs chapter collapsable: (can someone check if I copied them right?)
â Right click on Chapter in left menu
â Need to add ânew articleâ (you can not move an existing chapter as a daughter under a mother chapter)
â âRight click copy pasteâ the markdown text from the existing chapter to the new article
â Delete the old chapter
Accordion: Expandable textblocks added
â use this code:
%accordion%Some title here%accordion%
Any content here
%/accordion%
NB: for the title, delete the headingstyle, use plain text only
It doesnât work if the #### are used. Example gone wrong
Step 1: create an account
â> here you already have to choose if youâre a producer or not. I think we should mention this, since we are making a distinction in the whole userguide between those two.
â> profile only is also an option. All the terms confuse me a bit, not knowing what to choose. Should we just not mention the âprofile onlyâ option, since it is explained in step 2?
â> what is the difference between âaccountâ and âprofileâ? They are used intertwined, but mean different things: account can be profile / shop. Profile is a type of account: âprofile only accountâ. I think?
Step 2: Profile types
â> splitting it up into 2 pages here?
â> should we put the âchange account typeâ in another chapter? To prevent overload on info.
â> is your enterprise not visible of you donât follow step 2?
Discussion feature
When someone comments / starts a discussion, I donât receive an email notification of this even though I am a collaborator of the book.
â> Need to check the discussion regularly ourselves
â> Whoâs responsible for this?
The discussion â+â box does not work with text in a collapsible (accordion) menu
Use âOpen Food Networkâ instead of OFN --> after comment of Jen: âAs part of developing key messages etc at the moment Iâve been doing some thinking about âOFNâ. And I think we need to stop saying OFN and start always saying Open Food Network when weâre talking about ourselves to customers, in social media, in talks, etc. OFN doesnât mean or say much, whereas Open Food Network has values and our core business embodied in it.â
Which pages in the Producer/Hub setup guides differ dramatically? Could we remove this duplicating structure?
It would be best not to have duplicate pages, but maybe itâs worth the effort for the additional useability?
Your Profile - many sections are the same for producers and hubs (Primary details, users, address, contact, social, about, business details, images), and then the there are some fields that only apply to certain types of users (properties, inventory settings, shipping/payment/enterprise fees, tag rules, shop preferences) I think a lot of these sections could/already have their own pages though. (Iâve made one generic page (not hub/producer specific).
Connect with your supplying producers - HUBS ONLY
Products- Thereâs producer instructions, and the hub version has additional instructions regarding whether the hub user owns the producer or not.
Payment methods - SAME - we may want individual pages for each payment method? Or not. Or Collapso Expando. (Iâve made one payment method page, with expando collapso- we can always break this up).
Shipping methods - SAME
Enterprise fees - is pretty much the SAME, just that producers are told âyou probably donât need these if only selling OWNâ.
Order Cycles - the producer OC page is quite a lot simpler, so better to keep these separate.
View Orders - SAME
Reports - SAME - we could turn this into a single report page - with different cases/scenarios which then direct to individuals pages for each report. (Thereâs just one report page in gitbooks)
? What is the difference between a âproducer hubâ or a âhub shop A producer hub, is a producer who is selling their own produce, and also aggregating and selling other producerâs produce. So they are both a producer and a hub. A hub shop doesnât produce any of their own products.
? What is the difference between âpackage, account, profileâ --> seems confusing when explaining first set-up steps Package = There are 5 packages. For producers = profile only, producer shop, producer hub. For hubs= profile only, and hub shop. Sometimes each package will have a differenent fee structure. Account = your email login Profile = your enterpriseâs profile I can see how this is confusing! Open to alternative ways to phrase these.
? What is the difference between âchange packageâ or go to âEnterpriseâ and change things? --> change package section The package page is replicated on the Enterprise page, but if you have >1 enterprise you donât see change package. They just give an explanation of the packages, what theyâre used for, and the fees attached. See below
? Your profile page (step 4): right now this is an overview of all the sections in the right bar of your profile page. I think we can use this as a special chapter âall the sections explainedâ, but I donât think they have to go through all the info to finish their account and be visible and get started.
Can we recreate this page to the necessary steps only? Yes, thatâs true. Not all of those sections are essential to get up and running, so some sections could be covered later, or on a different page. It was a constraint of the Wordpress navigation that you had to put it in a likely spot, even though itâs definitely overwhelming for a first time person setting up.
Embedded videos Yes, works but not with the plug-in code. You use the embedded code of the video and copy it into gitbook.
Multilingual Will be looked in soon?
discussion / comment feature Yes, works but not too convenient.
To comment, you have to hover over the text. Then a + box appears, but it doesnât say this is for commenting. You have to understand that yourself apparently.
We donât receive an email notification of someone commenting, not even if youâre a collaborator of the book.
It does show in the discussion box on the masterpage of the Gitbook userguide.
We will have to check regularly ourselves if there are new comments.
You do get an email notification when someone comments on a discussion/comment you started yourself.
Search tool Yes, works, it shows menu header, chapter header and accompanying text. You can play with the names of the paragraph headers and the menu headers, to make the search outcome more efficient (e.g. not using same header titles)
Following this question:
Q: Your profile page (step 4): right now this is an overview of all the sections in the right bar of your profile page. Can we recreate this page to the necessary steps only?
A: Yes, thatâs true. Not all of those sections are essential to get up and running, so some sections could be covered later, or on a different page.
This is the overview of the âyour profile pageâ paragraph: Same content for producers and hubs
Primary details
â> Name, visible in search, permalink, link to shopfront
Users
â> Owner, manager
address
contact
social
about
business details (is this not only applicable when you have a shop?)
Images Online Shop only
Properties (producer only)
Inventory settings
Shipping methods, payment methods
Tag rules
Shop preferences
Different for producer/hub
Primary details:
â> Primary producer: different content
Users
â> Notifications (hub only?)
Properties (producer only?)
Enterprise fees: for profile only producers, who supply hub
Idea for Set-Up page
Do not add step 4 âYour Profileâ to the âgetting startedâ steps. It contains no action steps and so much info you donât need to read to just set up a profile. Instead, we could make a step 4 containing only the necessary finishing steps to create your profile.
â perhaps show how to view your profile (âas a customerâ) and then refer to the edit page if they are not happy with things.
Q: Do you actually still have to take steps to fulfil the process of creating a profile?
Q: If so, do you know the necessary steps people have to do to fully setup their profile (only)?
I am having lot of trouble with the expando/collapso side menus though - they seem really weird / not working to me? could they just be jumbling all the sub-menus in a big pile at the bottom?
@Kirsten yes, true! I noticed it as well. In the âComments on Gitbook featuresâ Iâve explained in images how it works. It is annoying though.
I made a chapter in the userguide on âhow to use this guideâ and maybe we should add a little paragraph about some handy âtechâ things to know when using it, like this one, to click on chapters and not on the arrows.
SL --> this generic page now is structured as the first step for âsetting up an online shopâ. But it doesnât match with with this intro: https://ofn-user-guide.gitbooks.io/ofn-user-guide-master/content/continue-create-online-shop.html --> "The following steps are relevant to users who wish to establish an online shop. If you wish to have an online profile only, you donât have to follow these steps."
Q: do we need this page?
4 - Your Profile - many sections are the same for producers and hubs and then there are some fields that only apply to certain types of users. (Iâve made one generic page (not hub/producer specific).
SL --> the content of this page is connected to step 3 âpersonalize your profileâ https://ofn-user-guide.gitbooks.io/ofn-user-guide-master/content/personalize-profile.html. Are there any steps or edits you have to do to complete creating your profile? So: if you wouldnât edit or personalize anything via the dashboard, would that still mean you have a visible, complete and working online profile?
If you would need to edit some things, what are the necessary ones? This way we can make a distinction between steps you must take and steps you can take, directing them to the âedit pageâ which shows the dashboard descriptions.
ss_ Iâve tried to make this a little clearer. To get just a profile, just just need to register, confirm your email and select a package. But itâs good to also introduce profile only users to where they can update/manage their profile.
6 - Payment methods - SAME - we may want individual pages for each payment method? Or not. Or Collapso Expando. (Iâve made one payment method page, with expando collapso- we can always break this up).
SL --> Added set-up steps to this page. Tried internal linking within the chapter, but it is strangely not working. Used this method: Relative Internal Link to a heading in the SAME article:
Syntax: [heading](#test)
Format: [link text](#<heading-name>)