GithubHelp home page GithubHelp logo

rackerlabs / docs-landing-page Goto Github PK

View Code? Open in Web Editor NEW
3.0 9.0 7.0 25.93 MB

Rackspace technical documentation landing page

Home Page: https://docs.rackspace.com/

Ruby 0.02% Makefile 0.28% HTML 6.95% SCSS 80.52% JavaScript 12.23%
rackspace documentation

docs-landing-page's Introduction

Docs Landing Page

deploy status docs landing page?style=plastic

This repository contains the source code for https://docs.rackspace.com/ website.

The website is written in AsciiDoc, generated by using Hugo, and hosted on GitHub.

Requirements

The Docs site runs on top of Hugo. To run an instance locally you need to either install Hugo and AsciiDoctor locally.

Local set up

 npm i -g netlify-cli
 netlify init
 netlify build
 netlify dev
 netlify deploy

Install Hugo and AsciiDoctor locally

If you want to install the required tools, you must first install Hugo and have the hugo command available in your PATH. Use Hugo version 0.78 or newer. You can install hugo by using your system’s package manager. For example, on OSX, type the following command to install hugo with Homebrew:

brew install hugo

For more information about how to install Hugo please see the installation documentation.

You also need Asciidoctor and Gem to run the local Docs site. Install those tools and verify them by running the following commands:

install asciidoctor: sudo gem install asciidoctor -N verify asciidoctor -v verify gem —help

Alternatively, use the npm install command to install Asciidoctor by using Ruby Gem and Bundler. You need to have the gem command in your path. For more information, see the Ruby Gem installation docs.

Build the documentation locally

Build your content locally and check for build errors.

  1. Change directory to the root directory of your document repository.

  2. Run the following command:

netlify build

Start a local web server

To preview documents in a web browser such as Chrome, start the Hugo server on your device.

Hugo has a live serve command that runs a small, lightweight web server on your computer so you can test your site locally without needing to upload it anywhere. As you make changes to files in your project, it rebuilds your project and reloads the browser for you.

To start the Hugo server, perform the following steps:

  1. Change directory to the root directory of your document repository.

  2. Run the following command:

Developer Docs runs on top of Webpack.

netlify dev

The Hugo server displays some messages while it starts up. The last line should be:

Web Server is available at http://localhost:1313/ (bind address 127.0.0.1) Press Ctrl+C to stop

This running instance should support live reload. Changes you make to files should be automatically updated in your running instance.

Some files may not be supported for live reload. If you are not automatically seeing your changes live you may need to restart the server. You can restart the server by pressing 'ctrl-c' and running netlify dev again.

You should now be able to access the developer docs homepage, for example, from: http://localhost:1313/

This running instance should support live reload. Changes you make to files should be automatically updated in your running instance.

Some files may not be supported for live reload. If you are not automatically seeing your changes live you may need to restart the server. You can restart the server by pressing 'ctrl-c' and running netlify dev again.

Project directory structure

├── [archetypes]- Directory where you define the content, tags, categories, etc.
├── [content] - Directory that contains the content of the site.
├── [layouts] - Directory that contains Go HTML/template library used to template and format the site.
├── [public] - (Doesn't exist until generated) Directory that contains the generated content for the site. Should be part of your git.ignore file.
├── [static] - Directory for any static files to be compiled into the web site (style sheets, JavaScript, images, robots.txt, fav icons, etc.).
├── Makefile
├── config.toml - Main configuration file, where you define the web site title, URL, language, etc.
├── README.adoc (This file)

docs-landing-page's People

Contributors

anemoramarro avatar asmita32675 avatar cal27279 avatar chri2547 avatar dependabot[bot] avatar robb-romans avatar snyk-bot avatar ssalinas24 avatar viridaria avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-landing-page's Issues

Missing sections

developer.rackspace.com has a "Rack CLI" section and a "News" section (displays most recent blogs) that are missing from the sdk.rackspace.com page

Change Product Guides section and rearrange

Change section Product Guides section and center it (remove SDKs & Tools category)

Product Guides category:

  • Change title to: Products and Services
  • Remove APIS graphic
  • Change summary text to "Learn the capabilities of our solutions by exploring Getting Started, Reference, and Developer guides."
  • Change link title to "Read solutions guides"
  • Center this category on page

SDKs & Tools category:

  • Remove this category entirely

Solution Docs Migration

rackerlabs/docs-portal-onboarding-guide - Done
rackerlabs/docs-service-blocks - Done
rackerlabs/docs-aws - Done
rackerlabs/docs-gcp - Done
rackerlabs/docs-ras-databases - Done
rackerlabs/docs-dxp-handbook - Done
rackerlabs/docs-rackspace-federation - Done
rackerlabs/rpc-vmware - Done
rackerlabs/docs-redhat-osp - Done
rcbops/privatecloud-docs - Done
rackerlabs/docs-cloud-servers - Done
rackerlabs/docs-quickstart - Done
rackerlabs/docs-colocation-guide - Done
rackerlabs/docs-customer-service - Done
rackerlabs/docs-cloud-cdn - Done
rackerlabs/docs-cloud-block-storage - Done
rackerlabs/docs-cloud-backup - Done
rackerlabs/docs-core-infra-user-guide - Done
rackerlabs/docs-cloud-dns - Done
rackerlabs/docs-cloud-files - Done
rackerlabs/docs-cloud-identity - Done
rackerlabs/docs-cloud-images - Done
rackerlabs/docs-cloud-load-balancers - Done
rackerlabs/docs-cloud-metrics -Done
rackerlabs/docs-cloud-monitoring - Done
rackerlabs/docs-cloud-networks - Done
rackerlabs/docs-cloud-orchestration - Done
rackerlabs/docs-cloud-paas - Done
rackerlabs/docs-cloud-queues
rackerlabs/docs-cloud-rackconnect
rackerlabs/docs-dedicated-networking
rackerlabs/docs-support-network
rackerlabs/heat-resource-ref
ackerlabs/rs-heat-docs
rackerlabs/otter
rackerlabs/standard-usage-schemas
rackerlabs/docs-sdp
rackerlabs/docs-appformix
rackerlabs/docs-style-guide
rackerlabs/docs-offerings
rackerlabs/mpc-hyper-v
rackerlabs/docs-billing-apiguide
rackerlabs/docs-dedicated-load-balancer-v3

Change page title and intro

Change from:
Developer Documentation
Whether you’re just getting started with the Rackspace Cloud or looking for reference on a product you’ve been using for a while, we’ve got the right documentation to get you on your way.

To:
Solutions Documentation
Whether you’re just getting started with our products and services, or looking for reference on something you’ve been using for a while, we’ve got the right documentation to get you on your way.

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.