Giter Site home page Giter Site logo

developer-portal / website Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 58.0 9.99 MB

Jekyll templates, CSS styles and images for the Fedora Developer Portal.

Home Page: https://developer.fedoraproject.org/

License: GNU General Public License v2.0

HTML 9.29% CSS 75.47% JavaScript 2.50% Shell 1.02% Ruby 1.48% Python 1.09% Dockerfile 0.27% SCSS 8.87%

website's People

Contributors

antoninmrkvica avatar asamalik avatar axelsilverdew avatar bharatkalluri avatar camilotk avatar caringi avatar dirschn avatar dknight avatar enchufa2 avatar frantisekz avatar gridhead avatar hroncok avatar jackorp avatar jakafle avatar joshua-rose avatar kashyapc avatar mairin avatar mathieu-aubin avatar msrb avatar phracek avatar pkabelka avatar pvalena avatar relrod avatar ryanlerch avatar sinnykumari avatar sorki avatar stickster avatar strzibny avatar tpokorra avatar vpavlin 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

Add subsection image for Virtualization inside the Tools section

I am trying to introduce a new subsection with the PR developer-portal/content#394 but it cannot be merged yet as the subsection does not have a logo.

Noting that the section that I am talking about here was newly introduced by me with this pull request. Here's the log.

podman run -it --rm -p 4000:4000 -v "$PWD:/opt/developerportal/website/content:Z" quay.io/developer-portal/devel
Configuration file: /opt/developerportal/website/_config.yml
            Source: /opt/developerportal/website
       Destination: /opt/developerportal/website/_site
 Incremental build: enabled
      Generating... 
       Git authors: Generating authors...
Traceback (most recent call last):
  File "/opt/developerportal/website/rss.py", line 23, in <module>
    feedparser._HTMLSanitizer.unacceptable_elements_with_end_tag.add('<div>')
AttributeError: module 'feedparser' has no attribute '_HTMLSanitizer'
                    done in 6.125 seconds.
 Auto-regeneration: enabled for '/opt/developerportal/website'
LiveReload address: http://0.0.0.0:35729
    Server address: http://0.0.0.0:4000/
  Server running... press ctrl-c to stop.
[2021-09-08 02:14:07] ERROR `/static/logo/virtualization.png' not found.
[2021-09-08 02:14:14] ERROR `/static/logo/virtualization.png' not found.
[2021-09-08 02:14:22] ERROR `/static/logo/virtualization.png' not found.

Fedora Developer Portal package

It'll be great to have Fedora Developer Portal packaged as application in Fedora.
There is long way to go and I'll try to track progress in this issue.

If you interested, here is really early version: https://github.com/frantisekz/content/releases/download/temp/fedora-developer-portal-0.0.1-1.x86_64.rpm
(Can be launched with fedora-developer-portal command)

Before we can try to get this reviewed and included in Fedora repositories we need to have Electron packaged in Fedora. I'll update this package from time to time and I'll try to setup copr repository with this during next week.

Website takes too long to load

The homepage of website took total of 48.87 seconds to load and downloaded 3.2 MB. It is mostly a static website, it shouldn't really use that much data (or time).
Some of the easy wins I can think are:

  • compress and optimize title_front.png

    currently 1.9 MB and should not be more than 100KB after optimization for web.

  • jquery.dataTables.js is not minified (~$400KB)

  • index.json file is too big (~500KB)

    Since the project is still in development, json file will most like keep growing. It would best to devide the data in multiple files and load only relevant data.

Someone please look into this if I don't send a PR soon enough.

h2 and h3 look the same

The size and style of both the h2 and h3 tags look the same, maybe it would be better to decrease the h3 font size

Resolve developers.fedoraproject.org in addition to developer.fedoraproject.org

Sites vary in whether they put their developer portals at "developer.domain" or "developers.domain", making it difficult to remember which sites use the plural form and which don't.

Red Hat put their portal at developers.redhat.com, with developer.redhat.com as an alias.

The Fedora portal is at developer.fedoraproject.org, but developers.fedoraproject.org doesn't exist in DNS.

It would be helpful if the latter domain resolved as an alias for the Fedora Developer Portal.

Hidden text issue in mobile view

In mobile view some text are hidden in divs. I tried to correct it by changing css files. But i failed to correct it. Then i write some javascript code to detect screen width of the browser and change the layout according to it. Any other solution?
screenshot from 2016-03-17 12-12-54
screenshot from 2016-03-17 12-41-28

Use HiDPI logos

Especially the main logo and DevAssistant on the homepage. They should have twice the resolution we show.

It now displays blurry on machines like ThinkPad X1Carbon, MacBook Pro or workstations using 4K monitors in HiDPI mode.

Improve build process

The generated website in _site should not contain content/ directory nor files that are not used.

"Report an issue" button link broken for subpages.

When a user clicks "Report an issue" on the main page of a given topic, the user is taken to Github issues with the correct title (e.g., from https://developer.fedoraproject.org/tech/languages/go/go-installation.html the button link is valid)

However, when a user clicks on the button on the subpage of a topic, the section is not present (e.g., https://developer.fedoraproject.org/tech/languages/go/go-packages.html)
Examples of the bug are:

One solution would be to parse the link if the required section info is not present in the subpages.

RSS feed sources

We should decide what featured blog posts we want.

I suggest:

  • the two featured blog posts to be from the Red Hat developer blog
  • the four featured blog posts underneath to be from Fedora Planet (as currently implemented)

Ideas? @asamalik @phracek

search.html is in old format

Use newer syntax, as {{#entries)} is not valid anymore.

$ jekyll build
Configuration file: /home/vagrant/Work/RH/devel/FDP/website/_config.yml
            Source: /home/vagrant/Work/RH/devel/FDP/website
       Destination: /home/vagrant/Work/RH/devel/FDP/website/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
              Lunr: Creating search index...
              Lunr: Index ready (lunr.js v0.7.2)
    Liquid Warning: Liquid syntax error (line 19): Unexpected character # in "{{#entries}}" in search.html
    Liquid Warning: Liquid syntax error (line 25): Unexpected character / in "{{/entries}}" in search.html
                    done in 43.062 seconds.

Jekyll permission error in Docker container

Hello.

I want to contribute to fedora developers portal and I want to check my changes before I make a pull request so I decided to install development version to my local machine in docker container.

When I run:

$ sudo docker run -it --rm developerportal/devel

Everything is ok. But when I want to use my own copy of content repository as volume:

$ sudo docker run -it --rm -v ~/Projects/content:/opt/developerportal/website/content developerportal/devel

I got error message from Jekyll:

jekyll 3.0.0.pre.beta10 | Error: Permission denied @ dir_initialize - .

This is my first experience with Docker and Jekyll so I don't know what can be wrong.

Could you please help me?

Translations

Would have any chance of translations into other languages?

Migrate content to docs/quick-docs?

I'd filed this in the content repo, but this seems like a better place. (developer-portal/content#349)

Hi there,

Given that docs is now up and running, should the dev portal just be merged into them?

https://docs.fedoraproject.org/en-US/docs/

That way there's one place for users to find documentation, and all of docs can be translated etc too. A lot of the material on here seems like it'd fit right in with quick-docs for example:

https://docs.fedoraproject.org/en-US/quick-docs/

Mobile view

The main menu do not display correctly on small screens. The front page banner should have smaller padding as well.

screen shot 2015-09-11 at 13 26 57

Mention contributors on respective pages

Let's give credit to our contributors!

Could we for example run 'git blame' during build and get a list of contributors for each page?

We could then put the names (top 5 or all?) on every page.

@pvalena as you were interested in the automated deployment of our testing instance, do you want to have a look at that?

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.