GithubHelp home page GithubHelp logo

meteor / meteor-theme-hexo Goto Github PK

View Code? Open in Web Editor NEW
62.0 12.0 26.0 1.64 MB

The framework we use for docs.

Home Page: https://docs-docs.netlify.com/docs/docs/

License: MIT License

JavaScript 15.32% Less 56.70% EJS 27.98%
hexo meteor hacktoberfest

meteor-theme-hexo's Introduction

Usage

The theme is available on npm as meteor-theme-hexo. The theme can be used by either:

  1. (preferred) Installing the theme from npm and allowing dependency auto-update tools, like @renovate-bot or @greenkeeperio-bot, to update the npm for you. This requires you to set the theme in your _config.yml as ../node_modules/meteor-theme-hexo; or
  2. (less ideal) Cloning this repository into the doc deployment's themes/meteor directory and referring to the theme in that deployment's _config.yml as just meteor. This will require you to update the theme (or at least its submodule) manually!

Developing

In order to develop this theme, you should:

  1. Check out this (meteor-theme-hexo) repository.

  2. Check out the theme-example docs deployment alongside the meteor-theme-hexo directory.

  3. Check out either (apollo-hexo-config or meteor-hexo-config) alongside the meteor-theme-hexo directory. This will leave you with something like:

    Dev/
    ├── meteor-theme-hexo/
    ├── meteor-hexo-config/ (or apollo-hexo-config/)
    └── theme-example/
    
  4. Run npm install in the meteor-theme-hexo

  5. Switch to the theme-example directory.

  6. Run npm install

  7. Inside theme-example, run:

    npm start -- --config-dir ../apollo-hexo-config --theme-dir ../meteor-theme-hexo
    

    (or meteor-hexo-config, if working on the Meteor theme!)

For more information, check the README.md on theme-example.

Docs docs

There are docs docs for help with docs deployments! Please read them (and help update them on their own repository if they're wrong!).

Known deployments

Important: Please submit a PR to update this list when making new deployments to ensure they receive important PRs (such as dependency and repo consistency updates).

[0] GitHub Repo :octocat: Deployment URL 🚀
☺️ meteor/guide https://guide.meteor.com/
☺️ meteor/docs https://docs.meteor.com/
☺️ meteor/galaxy-docs https://galaxy-guide.meteor.com/

[0] Equipped with auto-update dependency management, so you don't need to make sure the theme is updated.

If a change to this theme is made, it should be re-published to npm. Those repos using submodules should update their submodule reference to the latest tip and those using the meteor-theme-hexo npm package should update that dependency to the latest published version.

meteor-theme-hexo's People

Contributors

abernix avatar anddreluis2 avatar bengott avatar calebmer avatar evans avatar filipenevola avatar fredmaiaarantes avatar grubba27 avatar hwillson avatar klaussner avatar lorensr avatar tmeasday avatar trevorblades avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meteor-theme-hexo's Issues

Render all pages on one page

There'd be a few benefits of this:

  1. Can use browser search
  2. Entire sitemap in the sidebar
  3. Can print for PDF for offline mode

What's needed:

  • Figure out a way to get hexo to render all pages at one route. Maybe there's a plugin for it? (I searched and didn't find one)
  • Update our main.js code to handle the multi-page case (I think right now it would put all sub menu items under the first top-level menu item.
  • Ensure the "all page" is not indexed by google.

Happy to advise if someone wants to have a go at this.

Can't test Algolia locally

Currently, there's no way to test the search functionality locally.

Millenials test everything locally and are confident that nothing will break in production. We should figure out a way to make this happen soon!

Place the current Meteor Version in the docs

@dominicnguyen i am not quite sure if i got this right to place visual feedback for the docs here.
As i read in the forums something about Metoer 1.3.3 i was looking to find the current meteor version. This was placed very prominent on the old docs page. I was looking on the homepage and the github page without a fast result. I think the docs are a good place for that kind of info.

Maybe we could just place it beside Meteor API Docs in the sidebar. What do you think?

Display the nav_links in the mobile menu

Hi! 👋

First of all, thank you for open sourcing this docs theme. We've used it in Front-Commerce's documentation and it is really great!

However, I've noticed that there's an issue when displaying the nav_links on mobile. They should appear above the sidebar but are hidden behind the header. It is displayed correctly though when you start in desktop mode and resize to mobile.

This can be seen in Apollo Docs : https://www.apollographql.com/docs/

We've made a fix on our side, but I'm not sure that the PR would be OK for you since our fix uses flexbox and I've noticed that it does not seem to appear in your codebase. If it's OK for you though, I could make a PR later on.

Our fix: front-commerce/developers.front-commerce.com@c122803
A working preview: https://deploy-preview-18--elastic-austin-cf9d40.netlify.com/docs/

Report error after installing

I run hexo s. The websit is running but Terminal reports Error: Cannot find module './build/Release/DTraceProviderBindings' error.

screen shot 2018-01-26 at 2 59 06 am

Theme License

Apologies for spamming your issue board. But I've been working with Meteor for a while now and everytime I check the guide or docs i think how slick the hexo theme is. What's the license on the meteor hexo theme?

License?

Hi! I am looking to convert a docs site for my existing open-source project and would love to use this as a starting point, as that is what it is set up for - and it's awesome! The project is non-competitive with meteor. Is that something you would be open to?

Link readibility

This underlining makes it harder for me to read the letters. Maybe no underline or move the line down a little?

image

<em> is not italic

I have a patch but I'm not sure which branch we should be using. CC @tmeasday - can we get all the sites on one branch of the theme?

Make Guide and API Docs print-friendly

Currently, this is how these sections(Guide and API Docs) appear in Chrome(v52) print-mode(ctrl + p):

image

I suggest the use of CSS ``@media print` rule in order to:

  • hide the navigation and sidebar sections
  • remove the left margin from the content section

In code:

@media print {
  .sidebar,
  .nav { 
    display: none; 
  }
  .content {
    margin: 0;
  }
}

After the CSS codes were added:

image

Commit NOTE:
Because LESS is used, I have split the codes and added them in the appropriate files.

Make snippet line numbers optional?

I'd prefer default off. It feels cluttered to me, and they're usually only useful in cases in which you want to refer to a line number in the surrounding text.

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.