Giter Club home page Giter Club logo

fabric8-online-docs's Introduction

Documentation for Red Hat OpenShift.io

This is the Git repository for documentation related to Red Hat OpenShift.io, the SaaS for developers. The documentation is available at http://docs.openshift.io.

Additionally, a preview build of the master branch of this repository is available at https://docs.prod-preview.openshift.io/. Build status: Build Status.

Repository structure

Briefly, this is what you need to know about the documentation repository structure before contributing:

  • The documentation is module-based, which means most sections are individual modules. These modules are available in the /docs/topics/modules/ folder.
  • The modules are linked together to form a chapter, document, or guide using assemblies. These assemblies are asciidoc files in the /docs/topics/ folder. For example, the /docs/topics/getting-started-guide.adoc file is the main assembly for the Getting Started Guide and links to other, smaller assemblies for parts or chapters within the guide.
  • Module files naming conventions closely follow the title of the corresponding section. For example, a section in the Getting Started document with the title Working with pipelines is named working_with_pipelines.adoc in the modules folder. In some cases, this is not a direct match, so to confirm the name of the asciidoc file for a section, click the section title and the ID after the # in the URL is the name of the module file. For example, a URL such as https://docs.openshift.io/getting-started-guide.html#viewing_build_pipeline_oso has a slightly different title but the ID after the hash symbol (viewing_build_pipeline_oso) is the name of the file.

Contributing to the docs

See the Contributor guidelines for instructions.

fabric8-online-docs's People

Contributors

aditya-konarde avatar alexeykazakov avatar jarifibrahim avatar jmelis avatar mishaone avatar piyush-garg avatar preeticp avatar rawlingsj avatar rkratky avatar rupalibehera avatar sanbornsen avatar vpavlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fabric8-online-docs's Issues

Fix build/deploy scripts to run rootless on local

Currently, building on local requires root privileges. This should be fixed.

=== Building Guides ===
//docs
Building //docs/e2e_workshop
asciidoctor: WARNING: skipping reference to missing attribute: segmenttrackertoken
Building //docs/user_guide
asciidoctor: WARNING: skipping reference to missing attribute: segmenttrackertoken
+ chmod -R 0777 html/
chmod: changing permissions of 'html/openshift-io_user_guide.html': Operation not permitted
chmod: changing permissions of 'html/openshift-io_end_to_end_workshop.pdf': Operation not permitted
chmod: changing permissions of 'html/openshift-io_user_guide.pdf': Operation not permitted
chmod: changing permissions of 'html/images': Operation not permitted

Update README

The README file contains obsolete instructions:

  • get rid of ccutil mentions
  • fix mark-up in asciidoctor instructions
  • get rid of references to RHDEVDOCS JIRA

Also, the process for getting docs from preview to prod needs to be documented:

(as per @Preeticp's mail)

  1. Fork and clone the openshiftio/saas-openshiftio directory.
  2. Replace the 'hash:' value with your commit ID in the f8-docs.yaml and raise a PR for the same.
  3. Ask the maintainers to merge the PR.

Split CSS from docs files

Currently, docs HTML files carry all of their CSS, which is ugly and sucks bandwidth. Docs should be built with the :linkcss: attribute, and the CSS file(s) should be deployed along with the rest of the docs.

Generate JSON with [tool|info]tips for Planner

Infotips content based on OSIO User Guide Glossary needs to be converted to Markdown and then JSON with the following structure:

{
  "tooltips": {
    "id_tooltip_0": { "en_EN": "Some **markdown** text." },
    "id_tooltip_1": { "en_EN": "This can also include linebreaks." }
  },
  "infotips": {
    "id_infotip_0": { "en_EN": "Some **markdown** text." },
    "id_infotip_1": { "en_EN": "This can also include linebreaks." }
  }
}

IDs to be generated as UUID.

There will be a separate file for tooltips and infotips, which will be served as:

https://docs.openshift.io/json/infotips.json
https://docs.openshift.io/json/tooltips.json

Fix problem with locally updated index.html

The timestamp in index.html only needs to be updated when built in OpenShift, not on local. We don't want to deal with a modified index.html file that would either need to be committed (useless) or resetted (overhead).

Stop building PDFs on local

When building guides on local by using the bare scripts/build_guides.sh script, don't build PDFs because it takes too much time.

No change when building in the container.

building docs fail

following the asciidoctor instructions https://github.com/fabric8io/fabric8-online-docs#using-asciidoctor I get these errors:

git clone https://github.com/fabric8io/fabric8-online-docs
cd fabric8-online-docs/user_guide
asciidoctor --section-numbers --attribute=toc master.adoc*

asciidoctor: ERROR: content/user_guide.adoc: line 4: only book doctypes can contain level 0 sections
asciidoctor: ERROR: content/user_guide.adoc: line 12: only book doctypes can contain level 0 sections
asciidoctor: ERROR: content/user_guide.adoc: line 12: only book doctypes can contain level 0 sections
asciidoctor: ERROR: content/user_guide.adoc: line 12: only book doctypes can contain level 0 sections
asciidoctor: ERROR: content/user_guide.adoc: line 12: only book doctypes can contain level 0 sections

Fix (adapt) PR build pipeline

@rawlingsj, could you please take a look at the Jenkinsfile and fabric8-online-docs-app you prepared for this repo? We had to change the repo's structure to unify it with RHOAR/LOSIO docs, but that broke the pipeline you set up.

I'd be happy to provide additional information or try to fix it myself if you point me in the right direction.

Get rid of e2e directory

The e2e directory under modules was only introduced because we thought the e2e doc will be phased out. That's not the case, so we want all our modules to live in the same directory.

@mishaone, @Preeticp, take note -- this will be another big restructuring. However, it will be very straightforward. We will just move all modules from modules/e2e/ to modules/.

Fix broken local build

Local builds using scripts/build_guides.sh that follow local builds using the Docker method throw the following errors:

...
chmod: changing permissions of 'fabric8-online-docs/html/e2e_workshop.pdf': Operation not permitted

Enable icon support

We need support for icons from PatternFly and Font Awesome for showing UI widgets and elements.

As a second step, currently used mini screenshots of the same widgets and elements need to be replaced by the scalable icons.

Unify action headings on gerunds

To provide a consistent feel, action headings should all use gerund forms. E.g. consider:

7.13. Changing the quickstart code
7.14. Commit and push changes to GitHub
7.15. Review and publish your changes
7.16. Closing a work item

The middle two headings should be converted to:

7.14. Committing and pushing changes to GitHub
7.15. Reviewing and publishing your changes

Describe the "why" of OSIO

@qodfathr: Furthermore, I feel we need more documentation which explains the "why's" of OSIO; today there is a lot of "how's", but I feel that important, high level messages are being lost. Something like a "day in the life" story could possibly help.

Looking for more input.

Update outdated terminology

Some terms have evolved and need to be updated.

the user guide and on boarding documentation were based, in part, upon other non-canonical (e.g. the first several revisions of the workshop document) or outdated sources (e.g. the glossary) and, as such, has issues related to the naming of things, the messaging behind certain capabilities, etc. (e. g. OSIO has neither Projects nor Collaboration Spaces, both of which are older, deprecated terms.)

Use Todd's GSG as reference: https://drive.google.com/file/d/0B84xd3xHpx5cNlRuaC1aM1NsMVk/view

Expand "About Spaces" module in UG

Expand on the spaces module. Preeti's comment for context:

But just wanted to add this note, so that we do not lose track of it, IMHO we need to flesh this topic out more. At the time we had got in whatever little content we could gather. I guess we need to follow up with the Platform team for more information. For instance, the relation of templates with space, which determines the Planner WIs etc.

Fix validating issue

=== Validating Guides ===
Processing e2e_workshop
master.xml:833: element xref: Schemas validity error : Element '{http://docbook.org/ns/docbook}xref', attribute 'linkend': 'cleanup_sb.adoc##cleanup_sb' is not a valid value of the atomic type 'xs:IDREF'.
master.xml fails to validate
Failed to validate <path>/fabric8-online-docs/scripts/../docs/e2e_workshop.
Processing user_guide
master.xml validates

Failed validations:
 * <path>/fabric8-online-docs/scripts/../docs/e2e_workshop

Testing failed.

Organizing Content for OSIO docs

I am transcribing the mail discussion here to keep track of these discussions in one place.
Summary of Meeting:

  • Misha to flesh out the E2E experience doc, Preeti to help provide content for the Analytics portion.
  • Preeti to work on the Troubleshooting Doc, test and update steps.
  • Both of us would be testing the steps in the E2E and adding issues to the Trouble shooting. This would also help us review each others docs.
  • Spoke of possible User stories involving individual components like Planner/Analytics alone and stories involving 2/3 components too.

Possible user stories from Planner and Analytics POV as of now:

  1. How Authorization determines various views in Planner;
  2. Planner in sync with Platform-Platform integrates and provides the Planner a backbone;
  3. Planner by itself has 3 User Stories based on the end user
  4. Analytics primarily working with OSIO and its various functionalities, interacting with CHE, Pipelines and Planner
  5. Analytics integration with Devstudio and Visual studio

Fix lowercase i rendering so it doesn't look like a lowercase L

I can't see the previews at the moment, but I think they also have this issue.

Currently, for everything that is not marked up, the docs font renders in a way that makes every lowercase i look like a lowercase L. See screenshot for examples of this:

inotl

Expected behavior is that the lowercase i should clearly look different from a lowercase L.

Update file names in the e2e doc

File names should reflect the module or assembly title to make it easy to find in the repo for anyone making changes.

Currently I'm reorganizing and changing (and removing) a lot of files so holding off on this till I'm done with that and can focus on just this task (and ensure nothing is left out) due to the file name change plus that it's the final proposed titles for the modules, since this is also changing at this time.

"TODO with modules"?

What does this sentence at the end of the e2e guide mean? Can it be removed (or commented out)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.