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

Add custom badges/shields on doc pages #26

Merged
merged 11 commits into from
Mar 6, 2020
Merged

Conversation

gabriel-glo
Copy link
Contributor

@gabriel-glo gabriel-glo commented Feb 29, 2020

image
image
image

Add some image styles so badges look good and can be stacked in a single row
Add two versions of custom badges for showing where the examples are located (libs or frontend libs)
Removed links to libs in doc pages (we have badges now)

Removed some trailing whitespaces

Add one more badge image for Eightshift Boilerplate
Add doc badges to the rest of the chapters
Add short explanation of the Shrtcode class

Copy link
Contributor

@MetarDev MetarDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left 2 comments.


Helper is located in the [eightshift-libs](https://github.com/infinum/eightshift-libs/blob/935e7bc777094d7518950316a45061f7675cf7ed/src/blocks/class-blocks.php#L295) library.
Locate and return template part with passed attributes for a block.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentionally removed link or?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I wrote in PR description:

Removed links to libs in doc pages (we have badges now)

There is no need to link to the repo two times in short period time

Comment on lines +75 to +79
article p img {
margin-left: 0;
display: inline-block;
}

Copy link
Contributor

@MetarDev MetarDev Feb 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really unspecific, do badges have some kind of selectors on them you can use instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no options to select specific images.
This won't break the layout of the image, it will just push it to the left.

* master:
  updating PR fixes
  Updating docs
  Updating docs
  Updating docs
  updating docs
  Updating docs
  adding block-attributes-override filter
kmaric69
kmaric69 previously approved these changes Mar 2, 2020
dingo-d
dingo-d previously approved these changes Mar 2, 2020
Gabriel Glogoški added 2 commits March 5, 2020 20:04
* master:
  updating readme
  updating PRs
  updating docs
  updating docs
  fix typo
  Updating columns, helpers docs
  Updating columns
  Adding error logger helper
  Updating advance part
  Updating advance part
  Updating post type and rest fields
  Add layout overrides for flex containers
  Update the layout of footer links to the repos
  Updating docs
  Updating docs
  Add prefixed CSS
  Update footer layout
  Layout change in Get started cards
@iruzevic iruzevic merged commit bdf1dd3 into master Mar 6, 2020
@iruzevic iruzevic deleted the feature/docs-tags branch May 14, 2020 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants